3v4l.org

run code in 300+ PHP versions simultaneously
<?php $timeStart = microtime(true); foreach (range(1, 10000) as $i) { eval('function func'.$i.'() { return func'.($i-1).'(); };'); } $timeEnd = microtime(true); $executionTime = ($timeEnd - $timeStart)/60; var_dumb($execution);_time);

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.110.0030.09021.01
5.6.100.0100.06721.11
5.6.90.0100.08320.96
5.6.80.0030.04320.37
5.5.270.0070.06020.78
5.5.260.0070.04320.76
5.5.250.0100.07720.76
5.5.240.0100.07020.34
5.4.430.1170.07019.48
5.4.420.0970.07319.21
5.4.410.1170.06019.43
5.4.400.1000.06019.13
5.4.390.1270.05019.23
5.4.380.0800.04718.89
5.4.370.1000.04719.22
5.4.360.0930.05019.30
5.4.350.1200.04719.34
5.4.340.0800.06719.31
5.4.320.0870.04719.07
5.4.310.1170.04719.07
5.4.300.0770.05319.11
5.4.290.1130.06018.88
5.4.280.0930.05719.14
5.4.270.1000.06019.10
5.4.260.0800.05319.10
5.4.250.0800.05019.19
5.4.240.0830.05719.12
5.4.230.0700.06019.18
5.4.220.0870.04319.24
5.4.210.1070.05719.06
5.4.200.0770.05316.71
5.4.190.0530.04719.12
5.4.180.0500.06719.01
5.4.170.0130.06019.06
5.4.160.0230.04319.27
5.4.150.0970.04319.11
5.4.140.0470.06316.64
5.4.130.0470.05716.64
5.4.120.0570.05316.49
5.4.110.0100.04716.24
5.4.100.0370.05716.45
5.4.90.0130.05316.48
5.4.80.0130.05316.57
5.4.70.0030.06316.59
5.4.60.0370.05316.32
5.4.50.0070.05316.34
5.4.40.0270.04716.43
5.4.30.0200.05016.54
5.4.20.0200.04716.31
5.4.10.0170.05716.28
5.4.00.0170.05016.12
5.3.290.0130.06014.65
5.3.280.0200.05714.44
5.3.270.0200.05314.64
5.3.260.0600.04314.54
5.3.250.0230.05014.43
5.3.240.0170.05714.64
5.3.230.0170.05314.46
5.3.220.0300.03714.48
5.3.210.0170.05714.49
5.3.200.0130.05014.57
5.3.190.0100.05714.59
5.3.180.0100.05314.40
5.3.170.0130.05314.36
5.3.160.0100.05314.46
5.3.150.0300.06314.43
5.3.140.0530.04714.56
5.3.130.0700.05014.50
5.3.120.0570.06014.49
5.3.110.0630.05314.41
5.3.100.0430.06013.93
5.3.90.0170.04013.87
5.3.80.0470.04713.89
5.3.70.0530.05314.03
5.3.60.0470.05313.80
5.3.50.0570.05013.93
5.3.40.0630.05013.82
5.3.30.0530.04313.84
5.3.20.0630.03713.59
5.3.10.0670.03713.59
5.3.00.0470.06013.50
5.2.170.0500.04311.15
5.2.160.0370.04311.05
5.2.150.0530.04311.23
5.2.140.0530.03711.06
5.2.130.0600.04010.97
5.2.120.0570.04710.97
5.2.110.0870.03310.95
5.2.100.0670.04311.02
5.2.90.0500.05311.18
5.2.80.0470.04311.00
5.2.70.0670.05011.20
5.2.60.0800.03710.89
5.2.50.0400.03310.92
5.2.40.0500.03710.91
5.2.30.0370.03710.76
5.2.20.0470.04010.85
5.2.10.0300.04310.79
5.2.00.0170.03010.71
5.1.60.0300.0339.93
5.1.50.0430.0309.95
5.1.40.0200.0439.91
5.1.30.0070.03310.29
5.1.20.0300.03310.28
5.1.10.0030.05710.16
5.1.00.0100.0439.98
5.0.50.0230.0308.44
5.0.40.0170.0308.29
5.0.30.0070.0538.14
5.0.20.0100.0238.05
5.0.10.0030.0308.25
5.0.00.0030.0478.02
4.4.90.0000.0235.85
4.4.80.0030.0275.75
4.4.70.0170.0205.78
4.4.60.0070.0235.73
4.4.50.0130.0205.91
4.4.40.0170.0335.74
4.4.30.0100.0235.74
4.4.20.0100.0175.82
4.4.10.0030.0235.83
4.4.00.0170.0375.78
4.3.110.0070.0205.70
4.3.100.0000.0235.84
4.3.90.0000.0235.80
4.3.80.0000.0375.64
4.3.70.0000.0235.75
4.3.60.0100.0205.73
4.3.50.0200.0135.64
4.3.40.0070.0305.75
4.3.30.0070.0234.53
4.3.20.0000.0234.50
4.3.10.0000.0234.37
4.3.00.0130.0177.42

preferences:
144.94 ms | 1394 KiB | 7 Q