3v4l.org

run code in 200+ PHP versions simultaneously
<?php error_reporting(E_ALL); ini_set('display_errors','On'); // array is higher than Infinity and string and 20: var_dump(max(20,"string",INF,array())); // InvalidArgumentException? TypeError? never heard of it
based on i3vMU

Shows result from various feature-branches currently under review from the php developers. Contact me to have additional branches featured.

Output for branch php-master
array(0) { }
Output for branch php-master+opcache
array(0) { }
Output for branch php-master+jit
array(0) { }

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