3v4l.org

run code in 300+ PHP versions simultaneously
<?php $foobar = 1234; class foobar{ var foobar; }

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.350.0500.06319.09
5.4.340.0430.06719.13
5.4.320.0430.07319.15
5.4.310.0470.03719.20
5.4.300.0370.04718.98
5.4.290.0370.06719.21
5.4.280.0430.05318.83
5.4.270.0370.03719.24
5.4.260.0400.06718.86
5.4.250.0400.04019.05
5.4.240.0430.04318.99
5.4.230.0470.06018.99
5.4.220.0370.04719.22
5.4.210.0400.04018.88
5.4.200.0370.05318.84
5.4.190.0430.06319.20
5.4.180.0430.06018.86
5.4.170.0370.03718.85
5.4.160.0400.05019.12
5.4.150.0430.05319.06
5.4.140.0400.03016.50
5.4.130.0400.04316.38
5.4.120.0270.04016.33
5.4.110.0370.06016.20
5.4.100.0430.05316.19
5.4.90.0400.06316.45
5.4.80.0500.05716.44
5.4.70.0370.04316.23
5.4.60.0430.03016.54
5.4.50.0300.04016.19
5.4.40.0400.04316.54
5.4.30.0470.07016.53
5.4.20.0530.06016.56
5.4.10.0500.06316.50
5.4.00.0470.03315.83
5.3.290.0430.04314.63
5.3.280.0430.03714.81
5.3.270.0500.05314.83
5.3.260.0470.05014.62
5.3.250.0530.06714.60
5.3.240.0500.04314.62
5.3.230.0470.04314.50
5.3.220.0430.03714.54
5.3.210.0470.06314.48
5.3.200.0470.05314.64
5.3.190.0470.04014.68
5.3.180.0400.04014.55
5.3.170.0470.03314.78
5.3.160.0470.03714.46
5.3.150.0370.04014.48
5.3.140.0470.03014.46
5.3.130.0430.03314.46
5.3.120.0430.03714.45
5.3.110.0430.05014.55
5.3.100.0400.03714.09
5.3.90.0470.04013.99
5.3.80.0430.06314.03
5.3.70.0500.06013.92
5.3.60.0430.04014.02
5.3.50.0400.05014.02
5.3.40.0500.06313.94
5.3.30.0430.04313.91
5.3.20.0500.06013.61
5.3.10.0400.04313.80
5.3.00.0400.02713.86
5.2.170.0300.04312.42
5.2.160.0400.03012.42
5.2.150.0430.05012.42
5.2.140.0470.03712.42
5.2.130.0370.03312.42
5.2.120.0330.05712.42
5.2.110.0370.04012.42
5.2.100.0430.02712.42
5.2.90.0430.05312.42
5.2.80.0430.05312.42
5.2.70.0400.03712.42
5.2.60.0430.05012.42
5.2.50.0330.04312.42
5.2.40.0330.05312.42
5.2.30.0330.05712.42
5.2.20.0400.04012.42
5.2.10.0370.05312.42
5.2.00.0300.05712.42
5.1.60.0270.03012.42
5.1.50.0300.05312.42
5.1.40.0300.04712.42
5.1.30.0370.02312.42
5.1.20.0330.03312.42
5.1.10.0330.03312.42
5.1.00.0330.04712.42
5.0.50.0100.03012.42
5.0.40.0170.03312.42
5.0.30.0230.03312.42
5.0.20.0200.03312.42
5.0.10.0230.03712.42
5.0.00.0170.04012.42
4.4.90.0170.03312.42
4.4.80.0300.01312.42
4.4.70.0170.01312.42
4.4.60.0100.01712.42
4.4.50.0200.02712.42
4.4.40.0130.04012.42
4.4.30.0230.03312.42
4.4.20.0230.03012.42
4.4.10.0170.01712.42
4.4.00.0130.05312.42
4.3.110.0130.01712.42
4.3.100.0170.03012.42
4.3.90.0170.02712.42
4.3.80.0200.03012.42
4.3.70.0170.01312.42
4.3.60.0100.01712.42
4.3.50.0100.02012.42
4.3.40.0130.02312.42
4.3.30.0100.01712.42
4.3.20.0030.01712.42
4.3.10.0070.01312.42
4.3.00.0070.01312.42

preferences:
142.24 ms | 1394 KiB | 7 Q