3v4l.org

run code in 300+ PHP versions simultaneously
<?php $can_set = true; if (!function_exists('set_time_limit')) $can_set = false; // Are we able to use the function $current_time_limit = ini_get('max_execution_time'); @set_time_limit(123); $new_time_limit = ini_get('max_execution_time'); @set_time_limit($current_time_limit); if (empty($current_time_limit) || $current_time_limit === $new_time_limit) $can_set = false; echo $current_time_limit, ' ', (int) $can_set, ' ' , $new_time_limit;
Output for git.master, git.master_jit, rfc.property-hooks
0 0 123

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
54.49 ms | 401 KiB | 8 Q