|
1 | 1 | /* This is a generated file, edit the .stub.php file instead.
|
2 |
| - * Stub hash: e413f4e60b0f04dc3f3cfd1bb90b8f896c3fd7f0 */ |
| 2 | + * Stub hash: 5258c5796aca15e369dd72c0a8ed4dc1df31ce9d */ |
3 | 3 |
|
4 | 4 | ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(arginfo_snmpget, 0, 3, stdClass, MAY_BE_ARRAY|MAY_BE_STRING|MAY_BE_BOOL)
|
5 | 5 | ZEND_ARG_TYPE_INFO(0, hostname, IS_STRING, 0)
|
@@ -256,45 +256,45 @@ static zend_class_entry *register_class_SNMP(void)
|
256 | 256 | zend_string_release(property_info_name);
|
257 | 257 |
|
258 | 258 | zval property_max_oids_default_value;
|
259 |
| - ZVAL_NULL(&property_max_oids_default_value); |
| 259 | + ZVAL_UNDEF(&property_max_oids_default_value); |
260 | 260 | zend_string *property_max_oids_name = zend_string_init("max_oids", sizeof("max_oids") - 1, 1);
|
261 |
| - zend_declare_property_ex(class_entry, property_max_oids_name, &property_max_oids_default_value, ZEND_ACC_PUBLIC, NULL); |
| 261 | + zend_declare_typed_property(class_entry, property_max_oids_name, &property_max_oids_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG|MAY_BE_NULL)); |
262 | 262 | zend_string_release(property_max_oids_name);
|
263 | 263 |
|
264 | 264 | zval property_valueretrieval_default_value;
|
265 |
| - ZVAL_NULL(&property_valueretrieval_default_value); |
| 265 | + ZVAL_UNDEF(&property_valueretrieval_default_value); |
266 | 266 | zend_string *property_valueretrieval_name = zend_string_init("valueretrieval", sizeof("valueretrieval") - 1, 1);
|
267 |
| - zend_declare_property_ex(class_entry, property_valueretrieval_name, &property_valueretrieval_default_value, ZEND_ACC_PUBLIC, NULL); |
| 267 | + zend_declare_typed_property(class_entry, property_valueretrieval_name, &property_valueretrieval_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG)); |
268 | 268 | zend_string_release(property_valueretrieval_name);
|
269 | 269 |
|
270 | 270 | zval property_quick_print_default_value;
|
271 |
| - ZVAL_NULL(&property_quick_print_default_value); |
| 271 | + ZVAL_UNDEF(&property_quick_print_default_value); |
272 | 272 | zend_string *property_quick_print_name = zend_string_init("quick_print", sizeof("quick_print") - 1, 1);
|
273 |
| - zend_declare_property_ex(class_entry, property_quick_print_name, &property_quick_print_default_value, ZEND_ACC_PUBLIC, NULL); |
| 273 | + zend_declare_typed_property(class_entry, property_quick_print_name, &property_quick_print_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_BOOL)); |
274 | 274 | zend_string_release(property_quick_print_name);
|
275 | 275 |
|
276 | 276 | zval property_enum_print_default_value;
|
277 |
| - ZVAL_NULL(&property_enum_print_default_value); |
| 277 | + ZVAL_UNDEF(&property_enum_print_default_value); |
278 | 278 | zend_string *property_enum_print_name = zend_string_init("enum_print", sizeof("enum_print") - 1, 1);
|
279 |
| - zend_declare_property_ex(class_entry, property_enum_print_name, &property_enum_print_default_value, ZEND_ACC_PUBLIC, NULL); |
| 279 | + zend_declare_typed_property(class_entry, property_enum_print_name, &property_enum_print_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_BOOL)); |
280 | 280 | zend_string_release(property_enum_print_name);
|
281 | 281 |
|
282 | 282 | zval property_oid_output_format_default_value;
|
283 |
| - ZVAL_NULL(&property_oid_output_format_default_value); |
| 283 | + ZVAL_UNDEF(&property_oid_output_format_default_value); |
284 | 284 | zend_string *property_oid_output_format_name = zend_string_init("oid_output_format", sizeof("oid_output_format") - 1, 1);
|
285 |
| - zend_declare_property_ex(class_entry, property_oid_output_format_name, &property_oid_output_format_default_value, ZEND_ACC_PUBLIC, NULL); |
| 285 | + zend_declare_typed_property(class_entry, property_oid_output_format_name, &property_oid_output_format_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG)); |
286 | 286 | zend_string_release(property_oid_output_format_name);
|
287 | 287 |
|
288 | 288 | zval property_oid_increasing_check_default_value;
|
289 |
| - ZVAL_BOOL(&property_oid_increasing_check_default_value, 1); |
| 289 | + ZVAL_UNDEF(&property_oid_increasing_check_default_value); |
290 | 290 | zend_string *property_oid_increasing_check_name = zend_string_init("oid_increasing_check", sizeof("oid_increasing_check") - 1, 1);
|
291 |
| - zend_declare_property_ex(class_entry, property_oid_increasing_check_name, &property_oid_increasing_check_default_value, ZEND_ACC_PUBLIC, NULL); |
| 291 | + zend_declare_typed_property(class_entry, property_oid_increasing_check_name, &property_oid_increasing_check_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_BOOL)); |
292 | 292 | zend_string_release(property_oid_increasing_check_name);
|
293 | 293 |
|
294 | 294 | zval property_exceptions_enabled_default_value;
|
295 |
| - ZVAL_LONG(&property_exceptions_enabled_default_value, 0); |
| 295 | + ZVAL_UNDEF(&property_exceptions_enabled_default_value); |
296 | 296 | zend_string *property_exceptions_enabled_name = zend_string_init("exceptions_enabled", sizeof("exceptions_enabled") - 1, 1);
|
297 |
| - zend_declare_property_ex(class_entry, property_exceptions_enabled_name, &property_exceptions_enabled_default_value, ZEND_ACC_PUBLIC, NULL); |
| 297 | + zend_declare_typed_property(class_entry, property_exceptions_enabled_name, &property_exceptions_enabled_default_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG)); |
298 | 298 | zend_string_release(property_exceptions_enabled_name);
|
299 | 299 |
|
300 | 300 | return class_entry;
|
|
0 commit comments