Home
last modified time | relevance | path

Searched refs:zend_throw_error (Results 1 – 25 of 50) sorted by relevance

12

/PHP-7.4/ext/ffi/
H A Dffi.c877 zend_throw_error(zend_ffi_exception_ce, "Cannot call callback"); in zend_ffi_callback_trampoline()
927 zend_throw_error(zend_ffi_exception_ce, "Cannot allocate callback"); in zend_ffi_create_callback()
970 zend_throw_error(zend_ffi_exception_ce, "Cannot prepare callback"); in zend_ffi_create_callback()
998 zend_throw_error(zend_ffi_exception_ce, "NULL pointer dereference"); in zend_ffi_cdata_get()
1021 zend_throw_error(zend_ffi_exception_ce, "NULL pointer dereference"); in zend_ffi_cdata_set()
1165 zend_throw_error(zend_ffi_exception_ce, "NULL pointer dereference"); in zend_ffi_cdata_read_field()
1243 zend_throw_error(zend_ffi_exception_ce, "NULL pointer dereference"); in zend_ffi_cdata_write_field()
1859 zend_throw_error(zend_ffi_exception_ce, "NULL pointer dereference"); in zend_ffi_cdata_it_get_current_data()
3772 zend_throw_error(zend_ffi_exception_ce, "free() non a C pointer"); in ZEND_METHOD()
4101 zend_throw_error(zend_ffi_exception_ce, "negative array index"); in ZEND_METHOD()
[all …]
/PHP-7.4/ext/intl/collator/
H A Dcollator_locale.c58 zend_throw_error(NULL, "Object not initialized"); in PHP_FUNCTION()
H A Dcollator_compare.c65 zend_throw_error(NULL, "Object not initialized"); in PHP_FUNCTION()
H A Dcollator_sort.c82 zend_throw_error(NULL, "Object not initialized"); in collator_regular_compare_function()
413 zend_throw_error(NULL, "Object not initialized"); in PHP_FUNCTION()
579 zend_throw_error(NULL, "Object not initialized"); in PHP_FUNCTION()
/PHP-7.4/Zend/
H A Dzend_constants.c348 zend_throw_error(NULL, "Cannot access self:: when no class scope is active"); in zend_get_constant_ex()
354 zend_throw_error(NULL, "Cannot access parent:: when no class scope is active"); in zend_get_constant_ex()
357 zend_throw_error(NULL, "Cannot access parent:: when current class scope has no parent"); in zend_get_constant_ex()
365 zend_throw_error(NULL, "Cannot access static:: when no class scope is active"); in zend_get_constant_ex()
375zend_throw_error(NULL, "Undefined class constant '%s::%s'", ZSTR_VAL(class_name), ZSTR_VAL(constan… in zend_get_constant_ex()
382zend_throw_error(NULL, "Cannot access %s const %s::%s", zend_visibility_string(Z_ACCESS_FLAGS(c->v… in zend_get_constant_ex()
394zend_throw_error(NULL, "Cannot declare self-referencing constant '%s::%s'", ZSTR_VAL(class_name), … in zend_get_constant_ex()
H A Dzend_weakrefs.c113 zend_throw_error(NULL, "WeakReference objects do not support " thing);
154 zend_throw_error(NULL, in ZEND_END_ARG_INFO()
H A Dzend_object_handlers.c371zend_throw_error(NULL, "Cannot access %s property %s::$%s", zend_visibility_string(property_info->… in zend_bad_property_access()
377 zend_throw_error(NULL, "Cannot access property started with '\\0'"); in zend_bad_property_name()
796 zend_throw_error(NULL, "Typed property %s::$%s must not be accessed before initialization", in zend_std_read_property()
934 zend_throw_error(NULL, "Cannot use object of type %s as array", ZSTR_VAL(ce->name)); in zend_bad_array_access()
976zend_throw_error(NULL, "Undefined offset for object of type %s used as array", ZSTR_VAL(ce->name)); in zend_std_read_dimension()
1066 zend_throw_error(NULL, in zend_std_get_property_ptr_ptr()
1318zend_throw_error(NULL, "Call to %s method %s::%s() from context '%s'", zend_visibility_string(fbc-… in zend_bad_method_call()
1544zend_throw_error(NULL, "Access to undeclared static property: %s::$%s", ZSTR_VAL(ce->name), ZSTR_V… in zend_std_get_static_property_with_info()
1555 zend_throw_error(NULL, "Typed static property %s::$%s must not be accessed before initialization", in zend_std_get_static_property_with_info()
1573zend_throw_error(NULL, "Attempt to unset static property %s::$%s", ZSTR_VAL(ce->name), ZSTR_VAL(pr… in zend_std_unset_static_property()
[all …]
H A Dzend_objects.c113 zend_throw_error(NULL, in zend_objects_destroy_object()
132 zend_throw_error(NULL, in zend_objects_destroy_object()
H A Dzend_execute.c637 zend_throw_error(NULL, in zend_throw_access_uninit_prop_by_ref_error()
1274 zend_throw_error(NULL, "Cannot use object as array"); in zend_use_object_as_array()
1533 zend_throw_error(NULL, "%s", msg); in zend_wrong_string_offset()
1554 zend_throw_error(NULL, "Cannot call abstract method %s::%s()", in zend_abstract_method()
2035 zend_throw_error( in zend_non_static_method_call()
2068 zend_throw_error(NULL, "[] operator not supported for strings"); in zend_use_new_element_for_string()
3400 zend_throw_error(NULL, "Cannot re-assign $this"); in zend_fetch_this_var()
3404 zend_throw_error(NULL, "Cannot unset $this"); in zend_fetch_this_var()
4137 zend_throw_error(NULL, "Function name must be a string"); in zend_init_dynamic_call_object()
4175 zend_throw_error(NULL, "Second array member is not a valid method"); in zend_init_dynamic_call_array()
[all …]
H A Dzend_operators.c594zend_throw_error(NULL, "Object of class %s could not be converted to string", ZSTR_VAL(Z_OBJCE_P(o… in _convert_to_string()
908zend_throw_error(NULL, "Object of class %s could not be converted to string", ZSTR_VAL(Z_OBJCE_P(o… in __zval_get_string_func()
1005 zend_throw_error(NULL, "Unsupported operand types"); in add_function_slow()
1076 zend_throw_error(NULL, "Unsupported operand types"); in sub_function_slow()
1150 zend_throw_error(NULL, "Unsupported operand types"); in mul_function()
1267 zend_throw_error(NULL, "Unsupported operand types"); in pow_function()
1350 zend_throw_error(NULL, "Unsupported operand types"); in div_function()
1501 zend_throw_error(NULL, "Unsupported operand types"); in bitwise_not_function()
1886 zend_throw_error(NULL, "String size overflow"); in concat_function()
2208 zend_throw_error(NULL, "Unsupported operand types"); in compare_function()
H A Dzend_closures.c33 zend_throw_error(NULL, "Closure object cannot have properties")
372 zend_throw_error(NULL, "Instantiation of 'Closure' is not allowed"); in zend_closure_get_constructor()
617 zend_throw_error(NULL, "Instantiation of 'Closure' is not allowed"); in ZEND_METHOD()
H A Dzend_vm_def.h1046 zend_throw_error(NULL, "Using $this when not in object context"); in ZEND_VM_COLD_HELPER()
2055 zend_throw_error(NULL, "Cannot use [] for reading"); in ZEND_VM_COLD_HELPER()
3508 zend_throw_error(NULL, "Method name must be a string");
3677 zend_throw_error(NULL, "Function name must be a string");
3709 zend_throw_error(NULL, "Cannot call constructor");
3811 zend_throw_error(NULL, "Function name must be a string");
4569 zend_throw_error(NULL, "Can only throw objects");
5024 zend_throw_error(NULL,
5835 zend_throw_error(NULL,
6244 zend_throw_error(NULL, "Cannot unset string offsets");
[all …]
H A Dzend_ast.c443 zend_throw_error(NULL, "Illegal offset type"); in zend_ast_add_array_element()
457 zend_throw_error(NULL, "Cannot unpack array with string keys"); in zend_ast_add_unpacked_element()
471 zend_throw_error(NULL, "Only arrays and Traversables can be unpacked"); in zend_ast_add_unpacked_element()
548 zend_throw_error(NULL, "Cannot use \"self\" when no class scope is active"); in zend_ast_evaluate()
555 zend_throw_error(NULL, in zend_ast_evaluate()
724 zend_throw_error(NULL, "Unsupported constant expression"); in zend_ast_evaluate()
H A Dzend_execute_API.c226 zend_throw_error(exception_ce, "%s", message); in zend_throw_or_error()
571 zend_throw_error(NULL, "Undefined class constant '%s'", ZSTR_VAL(name)); in zend_use_undefined_constant()
574 zend_throw_error(NULL, "Undefined constant '%s'", ZSTR_VAL(name)); in zend_use_undefined_constant()
859 zend_throw_error(NULL, "Cannot call overloaded function for non-object"); in zend_call_function()
H A Dzend_exceptions.c296zend_throw_error(NULL, "Wrong parameters for %s([string $message [, long $code [, Throwable $previ… in ZEND_METHOD()
362zend_throw_error(NULL, "Wrong parameters for %s([string $message [, long $code, [ long $severity, … in ZEND_METHOD()
1064 zend_throw_error(NULL, "Cannot throw objects that do not implement Throwable"); in zend_throw_exception_object()
H A Dzend.h304 ZEND_API ZEND_COLD void zend_throw_error(zend_class_entry *exception_ce, const char *format, ...) Z…
/PHP-7.4/ext/session/
H A Dmod_user.c218 zend_throw_error(NULL, "No session id returned by function"); in PS_CREATE_SID_FUNC()
223 zend_throw_error(NULL, "Session id must be a string"); in PS_CREATE_SID_FUNC()
/PHP-7.4/ext/standard/
H A Dassert.c185 zend_throw_error(NULL, "Failure evaluating code: %s%s", PHP_EOL, myeval); in PHP_FUNCTION()
188 zend_throw_error(NULL, "Failure evaluating code: %s%s:\"%s\"", PHP_EOL, ZSTR_VAL(str), myeval); in PHP_FUNCTION()
H A Dphp_fopen_wrapper.c202 zend_throw_error(NULL, "Max memory must be >= 0"); in php_stream_url_wrap_php()
352 zend_throw_error(NULL, "No URL resource specified"); in php_stream_url_wrap_php()
H A Darray.c1771 zend_throw_error(NULL, "Cannot re-assign $this");
1814 zend_throw_error(NULL, "Cannot re-assign $this");
1844 zend_throw_error(NULL, "Cannot re-assign $this");
1891 zend_throw_error(NULL, "Cannot re-assign $this");
1947 zend_throw_error(NULL, "Cannot re-assign $this");
1998 zend_throw_error(NULL, "Cannot re-assign $this");
2058 zend_throw_error(NULL, "Cannot re-assign $this");
2186 zend_throw_error(NULL, "Cannot re-assign $this");
2233 zend_throw_error(NULL, "Cannot re-assign $this");
2289 zend_throw_error(NULL, "Cannot re-assign $this");
[all …]
/PHP-7.4/ext/com_dotnet/
H A Dcom_iterator.c146 zend_throw_error(NULL, "An iterator cannot be used with foreach by reference"); in php_com_iter_get()
/PHP-7.4/ext/intl/transliterator/
H A Dtransliterator_class.c176 zend_throw_error( NULL, "%s", ZSTR_VAL(err_msg) ); in Transliterator_clone_obj()
/PHP-7.4/ext/dom/
H A Ddom_iterators.c269 zend_throw_error(NULL, "An iterator cannot be used with foreach by reference"); in php_dom_get_iterator()
/PHP-7.4/ext/date/
H A Dphp_date.c2006 zend_throw_error(NULL, "DatePeriod has not been initialized correctly"); in date_period_it_rewind()
2030 zend_throw_error(NULL, "An iterator cannot be used with foreach by reference"); in date_object_period_get_iterator()
3031 zend_throw_error(NULL, "Invalid serialization data for DateTime object"); in PHP_METHOD()
3053 zend_throw_error(NULL, "Invalid serialization data for DateTimeImmutable object"); in PHP_METHOD()
3071 zend_throw_error(NULL, "Invalid serialization data for DateTime object"); in PHP_METHOD()
3968 zend_throw_error(NULL, "Timezone initialization failed"); in PHP_METHOD()
3987 zend_throw_error(NULL, "Timezone initialization failed"); in PHP_METHOD()
5390 zend_throw_error(NULL, "Invalid serialization data for DatePeriod object"); in PHP_METHOD()
5408 zend_throw_error(NULL, "Invalid serialization data for DatePeriod object"); in PHP_METHOD()
5455 zend_throw_error(NULL, "Writing to DatePeriod->%s is unsupported", ZSTR_VAL(name)); in date_period_write_property()
[all …]
/PHP-7.4/ext/simplexml/
H A Dsimplexml.c246 zend_throw_error(NULL, "Cannot create unnamed attribute"); in sxe_prop_dim_read()
287 zend_throw_error(NULL, "Cannot create unnamed attribute"); in sxe_prop_dim_read()
447 zend_throw_error(NULL, "Cannot create unnamed attribute"); in sxe_prop_dim_write()
500 zend_throw_error(NULL, "Cannot create unnamed attribute"); in sxe_prop_dim_write()
572 zend_throw_error(NULL, "Cannot create duplicate attribute"); in sxe_prop_dim_write()
2412 zend_throw_error(NULL, "An iterator cannot be used with foreach by reference"); in php_sxe_get_iterator()

Completed in 171 milliseconds

12