3v4l.org

run code in 300+ PHP versions simultaneously
<?php $agent_name = 'aperry@clickspark.com'; $agent_name2 = 'crobinson'; $agent_name = strpos($agent_name, '@') === false ? $agent_name : substr($agent_name, 0, strpos($agent_name, '@')); $agent_name2 = strpos($agent_name2, '@') === false ? $agent_name2 : substr($agent_name2, 0, strpos($agent_name2, '@')); echo $agent_name.PHP_EOL.$agent_name2;
Output for git.master, git.master_jit, rfc.property-hooks
aperry crobinson

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