@@ -168,13 +168,13 @@ ZEND_BEGIN_ARG_INFO_EX(arginfo_v8_exceptions_try_catch___construct, ZEND_SEND_BY
168
168
ZEND_ARG_OBJ_INFO(0 , try_catch, V8\\TryCatch, 0 )
169
169
ZEND_END_ARG_INFO()
170
170
171
- ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX (arginfo_v8_exceptions_try_catch_GetIsolate, ZEND_RETURN_VALUE, 0 , IS_OBJECT, PHP_V8_NS " \\ Isolate" , 0 )
171
+ PHP_V8_ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX (arginfo_v8_exceptions_try_catch_GetIsolate, ZEND_RETURN_VALUE, 0 , V8 \\Isolate, 0 )
172
172
ZEND_END_ARG_INFO()
173
173
174
- ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX (arginfo_v8_exceptions_try_catch_GetContext, ZEND_RETURN_VALUE, 0 , IS_OBJECT, PHP_V8_NS " \\ Context" , 0 )
174
+ PHP_V8_ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX (arginfo_v8_exceptions_try_catch_GetContext, ZEND_RETURN_VALUE, 0 , V8 \\Context, 0 )
175
175
ZEND_END_ARG_INFO()
176
176
177
- ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX (arginfo_v8_exceptions_try_catch_GetTryCatch, ZEND_RETURN_VALUE, 0 , IS_OBJECT, PHP_V8_NS " \\ TryCatch" , 0 )
177
+ PHP_V8_ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX (arginfo_v8_exceptions_try_catch_GetTryCatch, ZEND_RETURN_VALUE, 0 , V8 \\TryCatch, 0 )
178
178
ZEND_END_ARG_INFO()
179
179
180
180
@@ -223,35 +223,35 @@ static const zend_function_entry php_v8_value_exception_methods[] = {
223
223
PHP_MINIT_FUNCTION (php_v8_exceptions) {
224
224
zend_class_entry ce;
225
225
226
- INIT_NS_CLASS_ENTRY (ce, PHP_V8_NS " \\ Exceptions" , " GenericException" , php_v8_exception_methods);
226
+ INIT_NS_CLASS_ENTRY (ce, " V8 \\ Exceptions" , " GenericException" , php_v8_exception_methods);
227
227
php_v8_generic_exception_class_entry = zend_register_internal_class_ex (&ce, zend_exception_get_default ());
228
228
229
- INIT_NS_CLASS_ENTRY (ce, PHP_V8_NS " \\ Exceptions" , " TryCatchException" , php_v8_try_catch_exception_methods);
229
+ INIT_NS_CLASS_ENTRY (ce, " V8 \\ Exceptions" , " TryCatchException" , php_v8_try_catch_exception_methods);
230
230
php_v8_try_catch_exception_class_entry = zend_register_internal_class_ex (&ce, php_v8_generic_exception_class_entry);
231
231
232
232
zend_declare_property_null (php_v8_try_catch_exception_class_entry, ZEND_STRL (" isolate" ), ZEND_ACC_PRIVATE);
233
233
zend_declare_property_null (php_v8_try_catch_exception_class_entry, ZEND_STRL (" context" ), ZEND_ACC_PRIVATE);
234
234
zend_declare_property_null (php_v8_try_catch_exception_class_entry, ZEND_STRL (" try_catch" ), ZEND_ACC_PRIVATE);
235
235
236
236
237
- INIT_NS_CLASS_ENTRY (ce, PHP_V8_NS " \\ Exceptions" , " TerminationException" , php_v8_termination_exception_methods);
237
+ INIT_NS_CLASS_ENTRY (ce, " V8 \\ Exceptions" , " TerminationException" , php_v8_termination_exception_methods);
238
238
php_v8_termination_exception_class_entry = zend_register_internal_class_ex (&ce, php_v8_try_catch_exception_class_entry);
239
239
240
- INIT_NS_CLASS_ENTRY (ce, PHP_V8_NS " \\ Exceptions" , " AbstractResourceLimitException" , php_v8_abstract_resource_limit_exception_methods);
240
+ INIT_NS_CLASS_ENTRY (ce, " V8 \\ Exceptions" , " AbstractResourceLimitException" , php_v8_abstract_resource_limit_exception_methods);
241
241
php_v8_abstract_resource_limit_exception_class_entry = zend_register_internal_class_ex (&ce, php_v8_termination_exception_class_entry);
242
242
php_v8_abstract_resource_limit_exception_class_entry->ce_flags |= ZEND_ACC_EXPLICIT_ABSTRACT_CLASS;
243
243
244
- INIT_NS_CLASS_ENTRY (ce, PHP_V8_NS " \\ Exceptions" , " TimeLimitException" , php_v8_time_limit_exception_methods);
244
+ INIT_NS_CLASS_ENTRY (ce, " V8 \\ Exceptions" , " TimeLimitException" , php_v8_time_limit_exception_methods);
245
245
php_v8_time_limit_exception_class_entry = zend_register_internal_class_ex (&ce, php_v8_abstract_resource_limit_exception_class_entry);
246
246
247
- INIT_NS_CLASS_ENTRY (ce, PHP_V8_NS " \\ Exceptions" , " MemoryLimitException" , php_v8_memory_limit_exception_methods);
247
+ INIT_NS_CLASS_ENTRY (ce, " V8 \\ Exceptions" , " MemoryLimitException" , php_v8_memory_limit_exception_methods);
248
248
php_v8_memory_limit_exception_class_entry = zend_register_internal_class_ex (&ce, php_v8_abstract_resource_limit_exception_class_entry);
249
249
250
- INIT_NS_CLASS_ENTRY (ce, PHP_V8_NS " \\ Exceptions" , " ValueException" , php_v8_value_exception_methods);
250
+ INIT_NS_CLASS_ENTRY (ce, " V8 \\ Exceptions" , " ValueException" , php_v8_value_exception_methods);
251
251
php_v8_value_exception_class_entry = zend_register_internal_class_ex (&ce, php_v8_generic_exception_class_entry);
252
252
253
253
// TODO: completely replace ScriptException with TryCatchException
254
- INIT_NS_CLASS_ENTRY (ce, PHP_V8_NS " \\ Exceptions" , " ScriptException" , php_v8_script_exception_methods);
254
+ INIT_NS_CLASS_ENTRY (ce, " V8 \\ Exceptions" , " ScriptException" , php_v8_script_exception_methods);
255
255
php_v8_script_exception_class_entry = zend_register_internal_class_ex (&ce, php_v8_generic_exception_class_entry);
256
256
257
257
return SUCCESS;
0 commit comments