3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo 'Defining a variable:'; $variable_name = 'this is a string representation of a variable';<br> echo $variable_name; echo 'this is an integer representation of a variable'; echo $variable_name = 30;?>

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
5.4.230.0070.04212.38
5.4.220.0130.03912.37
5.4.210.0230.06512.37
5.4.200.0110.04312.38
5.4.190.0090.04412.37
5.4.180.0180.03412.37
5.4.170.0100.04212.38
5.4.160.0110.04112.37
5.4.150.0140.03912.37
5.4.140.0110.04212.06
5.4.130.0160.05312.04
5.4.120.0110.04012.01
5.4.110.0090.04112.00
5.4.100.0100.04212.00
5.4.90.0190.06212.00
5.4.80.0160.04212.00
5.4.70.0120.03912.00
5.4.60.0130.03512.00
5.4.50.0100.04212.00
5.4.40.0140.03711.99
5.4.30.0110.03911.98
5.4.20.0130.03911.98
5.4.10.0120.04211.98
5.4.00.0090.04111.48
5.3.280.0050.04012.71
5.3.270.0130.04212.72
5.3.260.0120.04212.72
5.3.250.0120.04012.72
5.3.240.0120.03912.72
5.3.230.0130.04212.71
5.3.220.0100.04312.68
5.3.210.0130.04012.68
5.3.200.0190.06412.68
5.3.190.0120.04112.68
5.3.180.0210.04612.67
5.3.170.0110.04212.67
5.3.160.0120.04012.67
5.3.150.0120.04412.67
5.3.140.0150.03912.66
5.3.130.0220.07112.66
5.3.120.0120.04512.66
5.3.110.0100.04512.66
5.3.100.0120.04112.12
5.3.90.0100.04112.08
5.3.80.0100.04312.08
5.3.70.0160.05212.08
5.3.60.0130.03912.06
5.3.50.0100.04212.00
5.3.40.0130.03912.00
5.3.30.0100.03911.94
5.3.20.0120.03811.72
5.3.10.0150.03511.68
5.3.00.0160.06511.67

preferences:
143.42 ms | 1394 KiB | 7 Q