3v4l.org

run code in 300+ PHP versions simultaneously
<?php $var <<<'EOT' This is a message which needs to span many lines and which I've written like this EOT; echo $var;

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.6.80.0030.09320.40
5.5.240.0030.05720.22
5.4.400.0970.06018.82
5.4.390.0230.05718.68
5.4.380.0270.05718.50
5.4.370.0330.06718.50
5.4.360.0300.04318.68
5.4.350.0170.06018.76
5.4.340.0870.06318.61
5.4.320.0270.05718.74
5.4.310.0170.05718.74
5.4.300.0130.06018.40
5.4.290.0170.05318.84
5.4.280.0270.04318.77
5.4.270.0330.04318.68
5.4.260.0270.04718.70
5.4.250.0300.05018.78
5.4.240.0930.04718.77
5.4.230.0230.05718.49
5.4.220.0170.05718.70
5.4.210.0230.06018.51
5.4.200.1600.04316.55
5.4.190.0270.07018.74
5.4.180.2800.05718.48
5.4.170.0170.06018.74
5.4.160.0070.06718.75
5.4.150.1030.04718.48
5.4.140.1330.05016.19
5.4.130.0170.05016.32
5.4.120.0170.06016.18
5.4.110.0130.05316.27
5.4.100.1070.05016.20
5.4.90.0070.06316.16
5.4.80.0170.05016.21
5.4.70.0300.04316.18
5.4.60.1530.07016.25
5.4.50.0470.05316.20
5.4.40.0170.05716.15
5.4.30.0430.04716.39
5.4.20.0200.07316.39
5.4.10.0170.06016.38
5.4.00.0170.05015.68
5.3.290.0400.07014.64
5.3.280.1870.05714.62
5.3.270.0300.05714.49
5.3.260.0230.06714.53
5.3.250.0330.05014.55
5.3.240.0230.07314.59
5.3.230.1670.07014.67
5.3.220.0270.05314.49
5.3.210.0270.06714.62
5.3.200.0200.05314.45
5.3.190.0230.06014.54
5.3.180.0230.05714.64
5.3.170.0430.04014.51
5.3.160.0170.05314.45
5.3.150.0170.05314.52
5.3.140.0200.05314.55
5.3.130.0200.06014.58
5.3.120.0230.07314.42
5.3.110.0300.06714.54
5.3.100.1530.05314.03
5.3.90.0200.07713.93
5.3.80.0370.04313.97
5.3.70.0270.04313.92
5.3.60.1500.05713.93
5.3.50.0200.05314.04
5.3.40.0170.06313.85
5.3.30.0170.05313.93
5.3.20.0400.04013.59
5.3.10.0370.04013.61
5.3.00.0300.06713.66
5.2.170.0270.04311.18
5.2.160.0800.04711.20
5.2.150.0170.05311.17
5.2.140.0170.04711.29
5.2.130.0200.05711.15
5.2.120.0170.05311.09
5.2.110.0200.05011.08
5.2.100.0230.03711.07
5.2.90.0130.04711.05
5.2.80.0770.06311.23
5.2.70.0100.05311.05
5.2.60.0200.03711.20
5.2.50.0170.04310.96
5.2.40.0100.06010.99
5.2.30.0330.04011.00
5.2.20.0200.03710.96
5.2.10.0200.04010.83
5.2.00.0230.05310.83
5.1.60.0330.02310.05
5.1.50.0230.03010.03
5.1.40.0170.03010.11
5.1.30.0170.03710.46
5.1.20.0170.04010.33
5.1.10.0200.04710.13
5.1.00.0270.04310.20
5.0.50.0070.0408.57
5.0.40.0070.0378.54
5.0.30.0070.0538.24
5.0.20.0100.0338.29
5.0.10.0070.0278.26
5.0.00.0030.0478.35
4.4.90.0070.0235.91
4.4.80.0100.0205.88
4.4.70.0070.0205.90
4.4.60.0030.0235.95
4.4.50.0100.0305.87
4.4.40.0100.0375.85
4.4.30.0070.0205.91
4.4.20.0200.0205.92
4.4.10.0030.0275.90
4.4.00.0070.0335.90
4.3.110.0100.0175.80
4.3.100.0070.0305.82
4.3.90.0070.0235.82
4.3.80.0030.0375.77
4.3.70.0070.0235.78
4.3.60.0070.0235.80
4.3.50.0070.0235.90
4.3.40.0070.0335.77
4.3.30.0030.0205.03
4.3.20.0030.0235.03
4.3.10.0070.0205.03
4.3.00.0130.0206.97

preferences:
143.01 ms | 1394 KiB | 7 Q