Skip to content

Commit 39b08ba

Browse files
committed
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3: Fix print_r return types in opcache
2 parents b16b7ad + c8e9aa8 commit 39b08ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/opcache/Optimizer/zend_func_info.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -534,7 +534,7 @@ static const func_info_t func_infos[] = {
534534
F0("var_dump", MAY_BE_NULL),
535535
F1("var_export", MAY_BE_NULL | MAY_BE_STRING),
536536
F0("debug_zval_dump", MAY_BE_NULL),
537-
F1("print_r", MAY_BE_FALSE | MAY_BE_STRING),
537+
F1("print_r", MAY_BE_TRUE | MAY_BE_STRING),
538538
F0("memory_get_usage", MAY_BE_FALSE | MAY_BE_LONG),
539539
F0("memory_get_peak_usage", MAY_BE_FALSE | MAY_BE_LONG),
540540
F0("register_shutdown_function", MAY_BE_NULL | MAY_BE_FALSE),

0 commit comments

Comments
 (0)