File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -2457,19 +2457,18 @@ PHP_FUNCTION(extract)
2457
2457
}
2458
2458
2459
2459
if (extract_type > EXTR_SKIP && extract_type <= EXTR_PREFIX_IF_EXISTS && ZEND_NUM_ARGS () < 3 ) {
2460
- zend_throw_error (NULL , "specified extract type requires the prefix parameter" );
2460
+ zend_throw_error (NULL , "Specified extract type requires the prefix parameter" );
2461
2461
return ;
2462
2462
}
2463
2463
2464
2464
if (prefix ) {
2465
2465
if (ZSTR_LEN (prefix ) && !php_valid_var_name (ZSTR_VAL (prefix ), ZSTR_LEN (prefix ))) {
2466
- zend_throw_error (NULL , "prefix is not a valid identifier" );
2466
+ zend_throw_error (NULL , "Prefix is not a valid identifier" );
2467
2467
return ;
2468
2468
}
2469
2469
}
2470
2470
2471
2471
if (zend_forbid_dynamic_call ("extract()" ) == FAILURE ) {
2472
- /* TODO Elevate to exception ? */
2473
2472
return ;
2474
2473
}
2475
2474
Original file line number Diff line number Diff line change @@ -36,5 +36,5 @@ echo "Done\n";
36
36
Notice: A non well formed numeric value encountered in %s on line %d
37
37
Invalid extract type
38
38
Invalid extract type
39
- specified extract type requires the prefix parameter
39
+ Specified extract type requires the prefix parameter
40
40
Done
You can’t perform that action at this time.
0 commit comments