run code in 300+ PHP versions simultaneously
<?php # different results for PHP 5.x and 7.x: ini_set('error_reporting', 1); $a = array(); $a['ini_get'] = ini_get('error_reporting'); $a['error_reporting'] = error_reporting(); $a['@ini_get'] = @ini_get('error_reporting'); $a['@error_reporting'] = @error_reporting(); var_export($a);
based on 1G971

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

Output for branch master
array ( 'ini_get' => '1', 'error_reporting' => 1, '@ini_get' => '1', '@error_reporting' => 1, )

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