3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(ini_get('memory_limit')); var_dump(ini_set(get_real_size('32M'))); var_dump(ini_get('memory_limit'));
based on Qf6XL
Output for 7.0.0 - 7.1.0
string(3) "64M" Fatal error: Uncaught Error: Call to undefined function get_real_size() in /in/bJnHu:5 Stack trace: #0 {main} thrown in /in/bJnHu on line 5
Process exited with code 255.
Output for 5.2.1 - 5.6.28
string(3) "64M" Fatal error: Call to undefined function get_real_size() in /in/bJnHu on line 5
Process exited with code 255.
Output for 5.0.0 - 5.2.0
string(0) "" Fatal error: Call to undefined function get_real_size() in /in/bJnHu on line 5
Process exited with code 255.
Output for 4.4.5 - 4.4.9
string(0) "" Fatal error: Call to undefined function: get_real_size() in /in/bJnHu on line 5
Process exited with code 255.
Output for 4.3.2 - 4.4.4
string(0) "" Fatal error: Call to undefined function: get_real_size() in /in/bJnHu on line 5
Process exited with code 255.
Output for 4.3.0 - 4.3.1
string(0) "" Fatal error: Call to undefined function: get_real_size() in /in/bJnHu on line 5