Home
last modified time | relevance | path

Searched refs:constructor (Results 151 – 175 of 186) sorted by relevance

12345678

/PHP-7.4/ext/spl/tests/
H A Dbug54384.phpt2 Bug #54384: Several SPL classes crash when the parent constructor is not called
H A Dbug55701.phpt2 Bug #55701 (GlobIterator throws LogicException with message 'The parent constructor was not called')
25 // The derived classes must throw LogicException if the parent class constructor was not called
/PHP-7.4/ext/reflection/tests/
H A DReflectionMethod_constructor_error1.phpt2 ReflectionMethod constructor errors
/PHP-7.4/ext/mysqli/tests/
H A Dmysqli_stmt_close.phpt27 // Yes, amazing, eh? AFAIK a work around of a constructor bug...
H A Dmysqli_class_mysqli_result_interface.phpt51 // get_class_method reports different constructor names
/PHP-7.4/tests/lang/
H A DpassByReference_006.phpt45 echo "\n\n---- Pass uninitialised arrays & objects by ref: constructor ---\n";
152 ---- Pass uninitialised arrays & objects by ref: constructor ---
H A Dbug20175.phpt87 * counts the calls to the constructor of oop_class and hence counts the
/PHP-7.4/ext/standard/tests/array/
H A Darray_fill_object.phpt53 //class with private member, static member, constant and constructor to initialize the private memb…
109 // class with public, private, protected members, static, constant members and constructor to initi…
/PHP-7.4/ext/intl/tests/
H A Ddateformat_formatObject_error.phpt46 …stamp(): The DateTime object has not been correctly initialized by its constructor in %s on line %d
/PHP-7.4/ext/opcache/Optimizer/
H A Descape_analysis.c184 if (ce && !ce->create_object && !ce->constructor && in is_allocation_def()
249 if (ce && !ce->create_object && !ce->constructor && in is_local_def()
/PHP-7.4/ext/reflection/
H A Dphp_reflection.c1355 fcc.function_handler = ce_ptr->constructor; in _reflection_export()
3401 …OOL(mptr->common.fn_flags & ZEND_ACC_CTOR && intern->ce->constructor && intern->ce->constructor->c… in ZEND_METHOD()
4099 if (ce->constructor) { in ZEND_METHOD()
4555 if (!ce->constructor) { in ZEND_METHOD()
4673 zend_function *constructor; in ZEND_METHOD() local
4687 if (constructor) { in ZEND_METHOD()
4693 if (!(constructor->common.fn_flags & ZEND_ACC_PUBLIC)) { in ZEND_METHOD()
4716 fcc.function_handler = constructor; in ZEND_METHOD()
4768 zend_function *constructor; in ZEND_METHOD() local
4790 if (constructor) { in ZEND_METHOD()
[all …]
/PHP-7.4/Zend/
H A Dzend.h132 zend_function *constructor; member
H A Dzend_compile.c1672 ce->constructor = NULL; in zend_initialize_class_data()
5818 if (!ce->constructor) { in zend_begin_method_decl()
5819 ce->constructor = (zend_function *) op_array; in zend_begin_method_decl()
5836 ce->constructor = (zend_function *) op_array; in zend_begin_method_decl()
6490 if (ce->constructor) { in zend_compile_class_decl()
6491 ce->constructor->common.fn_flags |= ZEND_ACC_CTOR; in zend_compile_class_decl()
6492 if (ce->constructor->common.fn_flags & ZEND_ACC_STATIC) { in zend_compile_class_decl()
6494 ZSTR_VAL(ce->name), ZSTR_VAL(ce->constructor->common.function_name)); in zend_compile_class_decl()
6496 if (ce->constructor->common.fn_flags & ZEND_ACC_HAS_RETURN_TYPE) { in zend_compile_class_decl()
6499 ZSTR_VAL(ce->name), ZSTR_VAL(ce->constructor->common.function_name)); in zend_compile_class_decl()
H A Dzend_vm_execute.h5963 fbc = ce->constructor; in ZEND_INIT_STATIC_METHOD_CALL_SPEC_CONST_CONST_HANDLER()
8234 fbc = ce->constructor; in ZEND_INIT_STATIC_METHOD_CALL_SPEC_CONST_TMPVAR_HANDLER()
9156 fbc = ce->constructor; in ZEND_INIT_STATIC_METHOD_CALL_SPEC_CONST_UNUSED_HANDLER()
9306 constructor, in ZEND_NEW_SPEC_CONST_UNUSED_HANDLER()
10695 fbc = ce->constructor; in ZEND_INIT_STATIC_METHOD_CALL_SPEC_CONST_CV_HANDLER()
23865 fbc = ce->constructor; in ZEND_INIT_STATIC_METHOD_CALL_SPEC_VAR_CONST_HANDLER()
26060 fbc = ce->constructor; in ZEND_INIT_STATIC_METHOD_CALL_SPEC_VAR_TMPVAR_HANDLER()
27549 fbc = ce->constructor; in ZEND_INIT_STATIC_METHOD_CALL_SPEC_VAR_UNUSED_HANDLER()
27699 constructor, in ZEND_NEW_SPEC_VAR_UNUSED_HANDLER()
29784 fbc = ce->constructor; in ZEND_INIT_STATIC_METHOD_CALL_SPEC_VAR_CV_HANDLER()
[all …]
/PHP-7.4/ext/opcache/
H A Dzend_persist.c949 if (ce->constructor) { in zend_update_parent_ce()
950 zend_function *tmp = zend_shared_alloc_get_xlat_entry(ce->constructor); in zend_update_parent_ce()
952 ce->constructor = tmp; in zend_update_parent_ce()
H A Dzend_file_cache.c779 SERIALIZE_PTR(ce->constructor);
1466 UNSERIALIZE_PTR(ce->constructor);
/PHP-7.4/main/streams/
H A Duserspace.c302 if (uwrap->ce->constructor) { in user_stream_create_object()
315 fcc.function_handler = uwrap->ce->constructor; in user_stream_create_object()
320 … not execute %s::%s()", ZSTR_VAL(uwrap->ce->name), ZSTR_VAL(uwrap->ce->constructor->common.functio… in user_stream_create_object()
/PHP-7.4/ext/mysqli/
H A Dmysqli.c1287 if (ce->constructor) { in php_mysqli_fetch_into_hash()
1309 fcc.function_handler = ce->constructor; in php_mysqli_fetch_into_hash()
1314 …ion, 0, "Could not execute %s::%s()", ZSTR_VAL(ce->name), ZSTR_VAL(ce->constructor->common.functio… in php_mysqli_fetch_into_hash()
/PHP-7.4/ext/pdo/
H A Dpdo_stmt.c736 if (ce->constructor) { in do_fetch_class_prepare()
743 zend_fcall_info_args_ex(fci, ce->constructor, &stmt->fetch.cls.ctor_args); in do_fetch_class_prepare()
745 fcc->function_handler = ce->constructor; in do_fetch_class_prepare()
948 if (ce->constructor && (flags & PDO_FETCH_PROPS_LATE)) { in do_fetch()
1129 if (ce->constructor && !(flags & (PDO_FETCH_PROPS_LATE | PDO_FETCH_SERIALIZE))) { in do_fetch()
/PHP-7.4/ext/spl/
H A Dspl_directory.c466 if (ce->constructor->common.scope != spl_ce_SplFileInfo) { in spl_filesystem_object_create_info()
468 zend_call_method_with_1_params(return_value, ce, &ce->constructor, "__construct", NULL, &arg1); in spl_filesystem_object_create_info()
511 if (ce->constructor->common.scope != spl_ce_SplFileInfo) { in spl_filesystem_object_create_type()
513 zend_call_method_with_1_params(return_value, ce, &ce->constructor, "__construct", NULL, &arg1); in spl_filesystem_object_create_type()
535 if (ce->constructor->common.scope != spl_ce_SplFileObject) { in spl_filesystem_object_create_type()
538 …zend_call_method_with_2_params(return_value, ce, &ce->constructor, "__construct", NULL, &arg1, &ar… in spl_filesystem_object_create_type()
/PHP-7.4/ext/soap/
H A Dsoap.c1698 zval c_ret, constructor; local
1700 ZVAL_STRING(&constructor, ZEND_CONSTRUCTOR_FUNC_NAME);
1701 …if (call_user_function(NULL, &tmp_soap, &constructor, &c_ret, service->soap_class.argc, service->s…
1707 zval_ptr_dtor_str(&constructor);
1712 zval_ptr_dtor_str(&constructor);
1720 zval c_ret, constructor; local
1722 ZVAL_STR_COPY(&constructor, service->soap_class.ce->name);
1723 …if (call_user_function(NULL, &tmp_soap, &constructor, &c_ret, service->soap_class.argc, service->s…
1730 zval_ptr_dtor_str(&constructor);
1737 zval_ptr_dtor_str(&constructor);
/PHP-7.4/ext/intl/timezone/
H A Dtimezone_class.cpp101 …zend_call_method_with_1_params(ret, NULL, &Z_OBJCE_P(ret)->constructor, "__construct", NULL, &arg); in timezone_convert_to_datetimezone()
/PHP-7.4/ext/intl/calendar/
H A Dcalendar_methods.cpp1136 …zend_call_method_with_1_params(&zv_tmp, NULL, &Z_OBJCE(zv_tmp)->constructor, "__construct", NULL, … in PHP_FUNCTION()
1252 …zend_call_method_with_2_params(return_value, NULL, &Z_OBJCE_P(return_value)->constructor, "__const… in PHP_FUNCTION()
/PHP-7.4/ext/phar/
H A Dphar_object.c1243 &spl_ce_RecursiveDirectoryIterator->constructor, "__construct", NULL, &arg1, &arg2); in PHP_METHOD()
1762 &spl_ce_RecursiveDirectoryIterator->constructor, "__construct", NULL, &arg, &arg2); in PHP_METHOD()
1778 &spl_ce_RecursiveIteratorIterator->constructor, "__construct", NULL, &iter); in PHP_METHOD()
1801 &spl_ce_RegexIterator->constructor, "__construct", NULL, &iteriter, &arg2); in PHP_METHOD()
2253 zend_call_method_with_1_params(&ret, ce, &ce->constructor, "__construct", NULL, &arg1); in phar_rename_archive()
4527 &spl_ce_SplFileInfo->constructor, "__construct", NULL, &arg1); in PHP_METHOD()
/PHP-7.4/sapi/cli/
H A Dphp_cli.c1079 zend_call_method_with_1_params(&ref, pce, &pce->constructor, "__construct", NULL, &arg); in do_cli()

Completed in 253 milliseconds

12345678