@@ -1407,14 +1407,6 @@ static zend_op *_reflection_param_get_default_precv(INTERNAL_FUNCTION_PARAMETERS
1407
1407
}
1408
1408
/* }}} */
1409
1409
1410
- /* {{{ Preventing __clone from being called */
1411
- ZEND_METHOD (reflection , __clone )
1412
- {
1413
- /* Should never be executable */
1414
- _DO_THROW ("Cannot clone object using __clone()" );
1415
- }
1416
- /* }}} */
1417
-
1418
1410
/* {{{ proto public static mixed Reflection::export(Reflector r [, bool return])
1419
1411
Exports a reflection object. Returns the output if TRUE is specified for return, printing it otherwise. */
1420
1412
ZEND_METHOD (reflection , export )
@@ -6097,7 +6089,6 @@ ZEND_BEGIN_ARG_INFO(arginfo_reflection_function_invokeArgs, 0)
6097
6089
ZEND_END_ARG_INFO ()
6098
6090
6099
6091
static const zend_function_entry reflection_function_abstract_functions [] = {
6100
- ZEND_ME (reflection , __clone , arginfo_reflection__void , ZEND_ACC_PRIVATE |ZEND_ACC_FINAL )
6101
6092
ZEND_ME (reflection_function , inNamespace , arginfo_reflection__void , 0 )
6102
6093
ZEND_ME (reflection_function , isClosure , arginfo_reflection__void , 0 )
6103
6094
ZEND_ME (reflection_function , isDeprecated , arginfo_reflection__void , 0 )
@@ -6283,7 +6274,6 @@ ZEND_BEGIN_ARG_INFO(arginfo_reflection_class_implementsInterface, 0)
6283
6274
ZEND_END_ARG_INFO ()
6284
6275
6285
6276
static const zend_function_entry reflection_class_functions [] = {
6286
- ZEND_ME (reflection , __clone , arginfo_reflection__void , ZEND_ACC_PRIVATE |ZEND_ACC_FINAL )
6287
6277
ZEND_ME (reflection_class , export , arginfo_reflection_class_export , ZEND_ACC_STATIC |ZEND_ACC_PUBLIC )
6288
6278
ZEND_ME (reflection_class , __construct , arginfo_reflection_class___construct , 0 )
6289
6279
ZEND_ME (reflection_class , __toString , arginfo_reflection__void , 0 )
@@ -6382,7 +6372,6 @@ ZEND_BEGIN_ARG_INFO(arginfo_reflection_property_setAccessible, 0)
6382
6372
ZEND_END_ARG_INFO ()
6383
6373
6384
6374
static const zend_function_entry reflection_property_functions [] = {
6385
- ZEND_ME (reflection , __clone , arginfo_reflection__void , ZEND_ACC_PRIVATE |ZEND_ACC_FINAL )
6386
6375
ZEND_ME (reflection_property , export , arginfo_reflection_property_export , ZEND_ACC_STATIC |ZEND_ACC_PUBLIC )
6387
6376
ZEND_ME (reflection_property , __construct , arginfo_reflection_property___construct , 0 )
6388
6377
ZEND_ME (reflection_property , __toString , arginfo_reflection__void , 0 )
@@ -6413,7 +6402,6 @@ ZEND_BEGIN_ARG_INFO_EX(arginfo_reflection_class_constant___construct, 0, 0, 2)
6413
6402
ZEND_END_ARG_INFO ()
6414
6403
6415
6404
static const zend_function_entry reflection_class_constant_functions [] = {
6416
- ZEND_ME (reflection , __clone , arginfo_reflection__void , ZEND_ACC_PRIVATE |ZEND_ACC_FINAL )
6417
6405
ZEND_ME (reflection_class_constant , export , arginfo_reflection_class_constant_export , ZEND_ACC_STATIC |ZEND_ACC_PUBLIC )
6418
6406
ZEND_ME (reflection_class_constant , __construct , arginfo_reflection_class_constant___construct , 0 )
6419
6407
ZEND_ME (reflection_class_constant , __toString , arginfo_reflection__void , 0 )
@@ -6440,7 +6428,6 @@ ZEND_BEGIN_ARG_INFO(arginfo_reflection_parameter___construct, 0)
6440
6428
ZEND_END_ARG_INFO ()
6441
6429
6442
6430
static const zend_function_entry reflection_parameter_functions [] = {
6443
- ZEND_ME (reflection , __clone , arginfo_reflection__void , ZEND_ACC_PRIVATE |ZEND_ACC_FINAL )
6444
6431
ZEND_ME (reflection_parameter , export , arginfo_reflection_parameter_export , ZEND_ACC_STATIC |ZEND_ACC_PUBLIC )
6445
6432
ZEND_ME (reflection_parameter , __construct , arginfo_reflection_parameter___construct , 0 )
6446
6433
ZEND_ME (reflection_parameter , __toString , arginfo_reflection__void , 0 )
@@ -6466,7 +6453,6 @@ static const zend_function_entry reflection_parameter_functions[] = {
6466
6453
};
6467
6454
6468
6455
static const zend_function_entry reflection_type_functions [] = {
6469
- ZEND_ME (reflection , __clone , arginfo_reflection__void , ZEND_ACC_PRIVATE |ZEND_ACC_FINAL )
6470
6456
ZEND_ME (reflection_type , allowsNull , arginfo_reflection__void , 0 )
6471
6457
ZEND_ME (reflection_type , isBuiltin , arginfo_reflection__void , 0 )
6472
6458
/* ReflectionType::__toString() is deprecated, but we currently do not mark it as such
@@ -6491,7 +6477,6 @@ ZEND_BEGIN_ARG_INFO(arginfo_reflection_extension___construct, 0)
6491
6477
ZEND_END_ARG_INFO ()
6492
6478
6493
6479
static const zend_function_entry reflection_extension_functions [] = {
6494
- ZEND_ME (reflection , __clone , arginfo_reflection__void , ZEND_ACC_PRIVATE |ZEND_ACC_FINAL )
6495
6480
ZEND_ME (reflection_extension , export , arginfo_reflection_extension_export , ZEND_ACC_STATIC |ZEND_ACC_PUBLIC )
6496
6481
ZEND_ME (reflection_extension , __construct , arginfo_reflection_extension___construct , 0 )
6497
6482
ZEND_ME (reflection_extension , __toString , arginfo_reflection__void , 0 )
@@ -6514,7 +6499,6 @@ ZEND_BEGIN_ARG_INFO(arginfo_reflection_zend_extension___construct, 0)
6514
6499
ZEND_END_ARG_INFO ()
6515
6500
6516
6501
static const zend_function_entry reflection_zend_extension_functions [] = {
6517
- ZEND_ME (reflection , __clone , arginfo_reflection__void , ZEND_ACC_PRIVATE |ZEND_ACC_FINAL )
6518
6502
ZEND_ME (reflection_zend_extension , export , arginfo_reflection_extension_export , ZEND_ACC_STATIC |ZEND_ACC_PUBLIC )
6519
6503
ZEND_ME (reflection_zend_extension , __construct , arginfo_reflection_zend_extension___construct , 0 )
6520
6504
ZEND_ME (reflection_zend_extension , __toString , arginfo_reflection__void , 0 )
0 commit comments