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 @@ -2453,19 +2453,18 @@ PHP_FUNCTION(extract)
2453
2453
}
2454
2454
2455
2455
if (extract_type > EXTR_SKIP && extract_type <= EXTR_PREFIX_IF_EXISTS && ZEND_NUM_ARGS () < 3 ) {
2456
- zend_throw_error (NULL , "specified extract type requires the prefix parameter" );
2456
+ zend_throw_error (NULL , "Specified extract type requires the prefix parameter" );
2457
2457
return ;
2458
2458
}
2459
2459
2460
2460
if (prefix ) {
2461
2461
if (ZSTR_LEN (prefix ) && !php_valid_var_name (ZSTR_VAL (prefix ), ZSTR_LEN (prefix ))) {
2462
- zend_throw_error (NULL , "prefix is not a valid identifier" );
2462
+ zend_throw_error (NULL , "Prefix is not a valid identifier" );
2463
2463
return ;
2464
2464
}
2465
2465
}
2466
2466
2467
2467
if (zend_forbid_dynamic_call ("extract()" ) == FAILURE ) {
2468
- /* TODO Elevate to exception ? */
2469
2468
return ;
2470
2469
}
2471
2470
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