3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php //preg_match( '#(\d+)(K|M|G)#', ini_get('memory_limit'), $matches ); ini_set( 43 ); var_dump( ini_get('memory_limit') );
Output for 5.4.38 - 7.1.0
Warning: ini_set() expects exactly 2 parameters, 1 given in /in/iORrr on line 4 string(3) "64M"
Output for 5.3.29, 5.4.26 - 5.4.37
Warning: ini_set() has been disabled for security reasons in /in/iORrr on line 4 string(3) "64M"
Output for 5.2.1 - 5.3.28, 5.4.0 - 5.4.25
Warning: ini_set() has been disabled for security reasons in /in/iORrr on line 4 string(3) "32M"
Output for 4.3.5 - 5.2.0
Warning: ini_set() has been disabled for security reasons in /in/iORrr on line 4 string(0) ""
Output for 4.3.1 - 4.3.4
Warning: ini_set,pcntl_fork() has been disabled for security reasons in /in/iORrr on line 4 string(0) ""
Output for 4.3.0
Warning: Wrong parameter count for ini_set() in /in/iORrr on line 4 string(0) ""