3v4l.org

run code in 300+ PHP versions simultaneously
<?php list($user_id, $focus_x, $focus_y, $focus_width, $orientation) = ["756272","0","0","350","1"]; $focus_x = preg_match('/^\d+$/)', $focus_x) ? intval($focus_x) : -1; $focus_y = preg_match('/^\d+$/)', $focus_y) ? intval($focus_y) : -1; $focus_width = preg_match('/^\d+$/)', $focus_width) ? intval($focus_width) : -1; $orientation = intval($orientation); if ($focus_x >= 0 && $focus_y >= 0 && $focus_width > 0) { echo "yehu"; }
Output for git.master, git.master_jit, rfc.property-hooks
Warning: preg_match(): Unknown modifier ')' in /in/8aG1g on line 5 Warning: preg_match(): Unknown modifier ')' in /in/8aG1g on line 6 Warning: preg_match(): Unknown modifier ')' in /in/8aG1g on line 7

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:
44.81 ms | 401 KiB | 8 Q