Lines Matching refs:zend_throw_error
830 zend_throw_error(zend_ffi_exception_ce, "Attempt to perform assign of owned C pointer"); in zend_ffi_zval_to_cdata()
840 zend_throw_error(zend_ffi_exception_ce, "Attempt to perform assign pointer to owned C data"); in zend_ffi_zval_to_cdata()
968 zend_throw_error(zend_ffi_exception_ce, "Cannot call callback"); in zend_ffi_callback_trampoline()
1003 zend_throw_error(zend_ffi_exception_ce, "Variadic function closures are not supported"); in zend_ffi_create_callback()
1008 zend_throw_error(zend_ffi_exception_ce, "Attempt to assign an invalid callback, %s", error); in zend_ffi_create_callback()
1014 …zend_throw_error(zend_ffi_exception_ce, "Attempt to assign an invalid callback, insufficient numbe… in zend_ffi_create_callback()
1020 zend_throw_error(zend_ffi_exception_ce, "Cannot allocate callback"); in zend_ffi_create_callback()
1066 zend_throw_error(zend_ffi_exception_ce, "Cannot prepare callback CIF"); in zend_ffi_create_callback()
1071 zend_throw_error(zend_ffi_exception_ce, "Cannot prepare callback"); in zend_ffi_create_callback()
1108 zend_throw_error(zend_ffi_exception_ce, "NULL pointer dereference"); in zend_ffi_cdata_get()
1114 zend_throw_error(zend_ffi_exception_ce, "Only 'cdata' property may be read"); in zend_ffi_cdata_get()
1130 zend_throw_error(zend_ffi_exception_ce, "NULL pointer dereference"); in zend_ffi_cdata_set()
1136 zend_throw_error(zend_ffi_exception_ce, "Only 'cdata' property may be set"); in zend_ffi_cdata_set()
1238 …zend_throw_error(zend_ffi_exception_ce, "Attempt to read field '%s' of non C struct/union", ZSTR_V… in zend_ffi_cdata_read_field()
1245 …zend_throw_error(zend_ffi_exception_ce, "Attempt to read undefined field '%s' of C struct/union", … in zend_ffi_cdata_read_field()
1258 zend_throw_error(zend_ffi_exception_ce, "NULL pointer dereference"); in zend_ffi_cdata_read_field()
1263 zend_throw_error(zend_ffi_exception_ce, "NULL pointer dereference"); in zend_ffi_cdata_read_field()
1271 zend_throw_error(zend_ffi_exception_ce, "NULL pointer dereference"); in zend_ffi_cdata_read_field()
1307 …zend_throw_error(zend_ffi_exception_ce, "Attempt to assign field '%s' to uninitialized FFI\\CData … in zend_ffi_cdata_write_field()
1315 …zend_throw_error(zend_ffi_exception_ce, "Attempt to assign field '%s' of non C struct/union", ZSTR… in zend_ffi_cdata_write_field()
1322 …zend_throw_error(zend_ffi_exception_ce, "Attempt to assign undefined field '%s' of C struct/union"… in zend_ffi_cdata_write_field()
1335 zend_throw_error(zend_ffi_exception_ce, "NULL pointer dereference"); in zend_ffi_cdata_write_field()
1340 zend_throw_error(zend_ffi_exception_ce, "NULL pointer dereference"); in zend_ffi_cdata_write_field()
1347 zend_throw_error(zend_ffi_exception_ce, "NULL pointer dereference"); in zend_ffi_cdata_write_field()
1353 zend_throw_error(zend_ffi_exception_ce, "Attempt to assign read-only location"); in zend_ffi_cdata_write_field()
1356 …zend_throw_error(zend_ffi_exception_ce, "Attempt to assign read-only field '%s'", ZSTR_VAL(field_n… in zend_ffi_cdata_write_field()
1382 zend_throw_error(zend_ffi_exception_ce, "C array index out of bounds"); in zend_ffi_cdata_read_dim()
1398 zend_throw_error(zend_ffi_exception_ce, "NULL pointer dereference"); in zend_ffi_cdata_read_dim()
1414 zend_throw_error(zend_ffi_exception_ce, "NULL pointer dereference"); in zend_ffi_cdata_read_dim()
1419 zend_throw_error(zend_ffi_exception_ce, "Attempt to read element of non C array"); in zend_ffi_cdata_read_dim()
1437 zend_throw_error(zend_ffi_exception_ce, "Cannot add next element to object of type FFI\\CData"); in zend_ffi_cdata_write_dim()
1445 zend_throw_error(zend_ffi_exception_ce, "C array index out of bounds"); in zend_ffi_cdata_write_dim()
1453 zend_throw_error(zend_ffi_exception_ce, "NULL pointer dereference"); in zend_ffi_cdata_write_dim()
1462 zend_throw_error(zend_ffi_exception_ce, "NULL pointer dereference"); in zend_ffi_cdata_write_dim()
1467 zend_throw_error(zend_ffi_exception_ce, "Attempt to assign element of non C array"); in zend_ffi_cdata_write_dim()
1472 zend_throw_error(zend_ffi_exception_ce, "Attempt to assign read-only location"); in zend_ffi_cdata_write_dim()
1656 zend_throw_error(zend_ffi_exception_ce, "FFI return struct/union is not implemented"); in zend_ffi_return_unsupported()
1658 zend_throw_error(zend_ffi_exception_ce, "FFI return array is not implemented"); in zend_ffi_return_unsupported()
1660 zend_throw_error(zend_ffi_exception_ce, "FFI internal error. Unsupported return type"); in zend_ffi_return_unsupported()
1669 zend_throw_error(zend_ffi_exception_ce, "FFI passing struct/union is not implemented"); in zend_ffi_pass_unsupported()
1671 zend_throw_error(zend_ffi_exception_ce, "FFI passing array is not implemented"); in zend_ffi_pass_unsupported()
1673 zend_throw_error(zend_ffi_exception_ce, "FFI internal error. Unsupported parameter type"); in zend_ffi_pass_unsupported()
1684 …zend_throw_error(zend_ffi_exception_ce, "Passing incompatible argument %d of C function '%s'", n +… in zend_ffi_pass_incompatible()
1693 …zend_throw_error(zend_ffi_exception_ce, "Passing incompatible argument %d of C function '%s', expe… in zend_ffi_pass_incompatible()
1696 …zend_throw_error(zend_ffi_exception_ce, "Passing incompatible argument %d of C function '%s', expe… in zend_ffi_pass_incompatible()
1699 …zend_throw_error(zend_ffi_exception_ce, "Passing incompatible argument %d of C function '%s', expe… in zend_ffi_pass_incompatible()
1711 zend_throw_error(zend_ffi_exception_ce, "Incompatible types when assigning"); in zend_ffi_assign_incompatible()
1720 …zend_throw_error(zend_ffi_exception_ce, "Incompatible types when assigning to type '%s'", buf1.sta… in zend_ffi_assign_incompatible()
1723 …zend_throw_error(zend_ffi_exception_ce, "Incompatible types when assigning to type '%s' from type … in zend_ffi_assign_incompatible()
1726 …zend_throw_error(zend_ffi_exception_ce, "Incompatible types when assigning to type '%s' from PHP '… in zend_ffi_assign_incompatible()
1768 zend_throw_error(zend_ffi_exception_ce, "NULL pointer dereference"); in zend_ffi_cdata_compare_objects()
1774 zend_throw_error(zend_ffi_exception_ce, "Comparison of incompatible C types"); in zend_ffi_cdata_compare_objects()
1785 zend_throw_error(zend_ffi_exception_ce, "Attempt to count() on non C array"); in zend_ffi_cdata_count_elements()
1956 zend_throw_error(zend_ffi_exception_ce, "NULL pointer dereference"); in zend_ffi_cdata_it_get_current_data()
2014 zend_throw_error(zend_ffi_exception_ce, "Attempt to iterate on non C array"); in zend_ffi_cdata_get_iterator()
2045 zend_throw_error(zend_ffi_exception_ce, "NULL pointer dereference"); in zend_ffi_cdata_get_debug_info()
2142 zend_throw_error(zend_ffi_exception_ce, "Attempt to call non C function pointer"); in zend_ffi_cdata_get_closure()
2149 zend_throw_error(zend_ffi_exception_ce, "Attempt to call non C function pointer"); in zend_ffi_cdata_get_closure()
2155 zend_throw_error(zend_ffi_exception_ce, "NULL pointer dereference"); in zend_ffi_cdata_get_closure()
2270 zend_throw_error(zend_ffi_exception_ce, "Comparison of incompatible C types"); in zend_ffi_ctype_compare_objects()
2489 …zend_throw_error(zend_ffi_exception_ce, "Attempt to read undefined C variable '%s'", ZSTR_VAL(var_… in zend_ffi_read_var()
2532 …zend_throw_error(zend_ffi_exception_ce, "Attempt to assign undefined C variable '%s'", ZSTR_VAL(va… in zend_ffi_write_var()
2537 …zend_throw_error(zend_ffi_exception_ce, "Attempt to assign read-only C variable '%s'", ZSTR_VAL(va… in zend_ffi_write_var()
2630 zend_throw_error(zend_ffi_exception_ce, "NULL pointer dereference"); in zend_ffi_pass_arg()
2731 zend_throw_error(zend_ffi_exception_ce, "Unsupported argument type"); in zend_ffi_pass_var_arg()
2757 …zend_throw_error(zend_ffi_exception_ce, "Incorrect number of arguments for C function '%s', expect… in ZEND_FUNCTION()
2795 zend_throw_error(zend_ffi_exception_ce, "Cannot prepare callback CIF"); in ZEND_FUNCTION()
2802 …zend_throw_error(zend_ffi_exception_ce, "Incorrect number of arguments for C function '%s', expect… in ZEND_FUNCTION()
2832 zend_throw_error(zend_ffi_exception_ce, "Cannot prepare callback CIF"); in ZEND_FUNCTION()
2905 …zend_throw_error(zend_ffi_exception_ce, "Attempt to call undefined C function '%s'", ZSTR_VAL(name… in zend_ffi_get_func()
2941 zend_throw_error(zend_ffi_exception_ce, "Cannot compare FFI objects"); in zend_fake_compare_objects()
2947 …zend_throw_error(zend_ffi_exception_ce, "FFI API is restricted by \"ffi.enable\" configuration dir… in zend_ffi_disabled()
2997 zend_throw_error(zend_ffi_exception_ce, "Failed loading '%s' (%s)", ZSTR_VAL(lib), err); in ZEND_METHOD()
3000 zend_throw_error(zend_ffi_exception_ce, "Failed loading '%s' (Unknown reason)", ZSTR_VAL(lib)); in ZEND_METHOD()
3003 zend_throw_error(zend_ffi_exception_ce, "Failed loading '%s' (%s)", ZSTR_VAL(lib), err); in ZEND_METHOD()
3045 zend_throw_error(zend_ffi_exception_ce, "Failed resolving C variable '%s'", ZSTR_VAL(name)); in ZEND_METHOD()
3055 zend_throw_error(zend_ffi_exception_ce, "Failed resolving C function '%s'", ZSTR_VAL(name)); in ZEND_METHOD()
3275 zend_throw_error(zend_ffi_exception_ce, "Failed loading '%s', file doesn't exist", filename); in zend_ffi_load()
3284 zend_throw_error(zend_ffi_exception_ce, "Failed loading '%s', not a regular file", filename); in zend_ffi_load()
3300 zend_throw_error(zend_ffi_exception_ce, "Failed loading '%s', cannot read_file", filename); in zend_ffi_load()
3331 zend_throw_error(zend_ffi_exception_ce, "Failed loading '%s'", filename); in zend_ffi_load()
3345 zend_throw_error(zend_ffi_exception_ce, "Failed loading '%s' (%s)", lib, err); in zend_ffi_load()
3348 zend_throw_error(zend_ffi_exception_ce, "Failed loading '%s' (Unknown reason)", lib); in zend_ffi_load()
3351 zend_throw_error(zend_ffi_exception_ce, "Failed loading '%s' (%s)", lib, err); in zend_ffi_load()
3382 zend_throw_error(zend_ffi_exception_ce, "Failed resolving C variable '%s'", ZSTR_VAL(name)); in zend_ffi_load()
3399 zend_throw_error(zend_ffi_exception_ce, "Failed resolving C function '%s'", ZSTR_VAL(name)); in zend_ffi_load()
3549 …zend_throw_error(zend_ffi_exception_ce, "FFI::load() doesn't work in conjunction with \"opcache.pr… in ZEND_METHOD()
3577 zend_throw_error(zend_ffi_exception_ce, "Failed loading scope '%s'", ZSTR_VAL(scope_name)); in ZEND_METHOD()
3862 zend_throw_error(zend_ffi_exception_ce, "Cannot instantiate FFI\\CData of zero size"); in ZEND_METHOD()
3899 zend_throw_error(zend_ffi_exception_ce, "NULL pointer dereference"); in ZEND_METHOD()
3914 zend_throw_error(zend_ffi_exception_ce, "free() non a C pointer"); in ZEND_METHOD()
4076 zend_throw_error(zend_ffi_exception_ce, "attempt to cast to larger type"); in ZEND_METHOD()
4226 zend_throw_error(zend_ffi_exception_ce, "Array of functions is not allowed"); in ZEND_METHOD()
4229 zend_throw_error(zend_ffi_exception_ce, "Only the leftmost array can be undimensioned"); in ZEND_METHOD()
4232 zend_throw_error(zend_ffi_exception_ce, "Array of void type is not allowed"); in ZEND_METHOD()
4235 zend_throw_error(zend_ffi_exception_ce, "Array of incomplete type is not allowed"); in ZEND_METHOD()
4256 zend_throw_error(zend_ffi_exception_ce, "negative array index"); in ZEND_METHOD()
4260 zend_throw_error(zend_ffi_exception_ce, "only the leftmost array can be undimensioned"); in ZEND_METHOD()
4310 …zend_throw_error(zend_ffi_exception_ce, "FFI::addr() cannot create a reference to a temporary poin… in ZEND_METHOD()
4418 zend_throw_error(zend_ffi_exception_ce, "Attempt to write over data boundary"); in ZEND_METHOD()
4427 zend_throw_error(zend_ffi_exception_ce, "Attempt to read over string boundary"); in ZEND_METHOD()
4438 zend_throw_error(zend_ffi_exception_ce, "Attempt to read over data boundary"); in ZEND_METHOD()
4471 zend_throw_error(zend_ffi_exception_ce, "attempt to read over string boundary"); in ZEND_METHOD()
4482 zend_throw_error(zend_ffi_exception_ce, "attempt to read over data boundary"); in ZEND_METHOD()
4495 zend_throw_error(zend_ffi_exception_ce, "Attempt to read over string boundary"); in ZEND_METHOD()
4506 zend_throw_error(zend_ffi_exception_ce, "Attempt to read over data boundary"); in ZEND_METHOD()
4548 zend_throw_error(zend_ffi_exception_ce, "attempt to write over data boundary"); in ZEND_METHOD()
4581 zend_throw_error(zend_ffi_exception_ce, "attempt to read over data boundary"); in ZEND_METHOD()
4592 zend_throw_error(zend_ffi_exception_ce, "FFI\\Cdata is not a C string"); in ZEND_METHOD()
4621 zend_throw_error(zend_ffi_exception_ce, "FFI\\Cdata is not a pointer"); in ZEND_METHOD()
4717 zend_throw_error(zend_ffi_exception_ce, "FFI\\CType is not an enumeration"); in ZEND_METHOD()
4736 zend_throw_error(zend_ffi_exception_ce, "FFI\\CType is not an array"); in ZEND_METHOD()
4757 zend_throw_error(zend_ffi_exception_ce, "FFI\\CType is not an array"); in ZEND_METHOD()
4776 zend_throw_error(zend_ffi_exception_ce, "FFI\\CType is not a pointer"); in ZEND_METHOD()
4800 zend_throw_error(zend_ffi_exception_ce, "FFI\\CType is not a structure"); in ZEND_METHOD()
4826 zend_throw_error(zend_ffi_exception_ce, "FFI\\CType is not a structure"); in ZEND_METHOD()
4832 zend_throw_error(zend_ffi_exception_ce, "Wrong field name"); in ZEND_METHOD()
4853 zend_throw_error(zend_ffi_exception_ce, "FFI\\CType is not a structure"); in ZEND_METHOD()
4859 zend_throw_error(zend_ffi_exception_ce, "Wrong field name"); in ZEND_METHOD()
4880 zend_throw_error(zend_ffi_exception_ce, "FFI\\CType is not a function"); in ZEND_METHOD()
4899 zend_throw_error(zend_ffi_exception_ce, "FFI\\CType is not a function"); in ZEND_METHOD()
4920 zend_throw_error(zend_ffi_exception_ce, "FFI\\CType is not a function"); in ZEND_METHOD()
4940 zend_throw_error(zend_ffi_exception_ce, "FFI\\CType is not a function"); in ZEND_METHOD()
4945 zend_throw_error(zend_ffi_exception_ce, "Wrong argument number"); in ZEND_METHOD()
4951 zend_throw_error(zend_ffi_exception_ce, "Wrong argument number"); in ZEND_METHOD()
4979 zend_throw_error(zend_ffi_exception_ce, "Failed loading '%s', bad FFI_SCOPE define", filename); in zend_ffi_parse_directives()
4988 … zend_throw_error(zend_ffi_exception_ce, "Failed loading '%s', FFI_SCOPE defined twice", filename); in zend_ffi_parse_directives()
5002 … zend_throw_error(zend_ffi_exception_ce, "Failed loading '%s', bad FFI_SCOPE define", filename); in zend_ffi_parse_directives()
5026 zend_throw_error(zend_ffi_exception_ce, "Failed loading '%s', bad FFI_LIB define", filename); in zend_ffi_parse_directives()
5035 … zend_throw_error(zend_ffi_exception_ce, "Failed loading '%s', FFI_LIB defined twice", filename); in zend_ffi_parse_directives()
5049 zend_throw_error(zend_ffi_exception_ce, "Failed loading '%s', bad FFI_LIB define", filename); in zend_ffi_parse_directives()
5072 zend_throw_error(NULL, "Instantiation of %s is not allowed", ZSTR_VAL(object->ce->name)); in zend_fake_get_constructor()
5079 zend_throw_error(NULL, "Cannot use object of type %s as array", ZSTR_VAL(ce->name)); in zend_bad_array_access()
5111 zend_throw_error(NULL, "Cannot access property of object of type %s", ZSTR_VAL(ce->name)); in zend_bad_property_access()
5151 zend_throw_error(NULL, "Object of type %s does not support method calls", ZSTR_VAL(ce->name)); in zend_fake_get_method()
5183 zend_throw_error(zend_ffi_exception_ce, "Use after free()"); in zend_ffi_use_after_free()