3v4l.org

run code in 300+ PHP versions simultaneously
<?php $healthSafetyCodeList = array(); for ($i = 1; $i = 5; $i++) { $healthSafetyCodeList[] = "S" . $i; } echo $healthSafetyCodeList;

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)
8.3.60.0540.09164.57
8.3.50.0330.08364.52
8.3.40.0370.05042.70
8.3.30.0300.03742.79
8.3.20.0170.02044.30
8.3.10.0160.02946.18
8.3.00.0070.01841.88
8.2.180.0610.05164.77
8.2.170.0230.04343.45
8.2.160.0140.02844.67
8.2.150.0130.02342.82
8.2.140.0100.02744.46
8.2.130.0200.02042.00
8.2.120.0000.02446.35
8.2.110.0260.02344.39
8.2.100.0330.03041.98
8.2.90.0200.02743.24
8.2.80.0100.03341.26
8.2.70.0160.02941.68
8.2.60.0180.03241.88
8.2.50.0140.03441.46
8.2.40.0160.02643.32
8.2.30.0140.02144.47
8.2.20.0150.03241.64
8.2.10.0100.03442.36
8.2.00.0300.02241.91
8.1.280.0240.05448.40
8.1.270.0060.02138.48
8.1.260.0130.01338.21
8.1.250.0170.00738.46
8.1.240.0100.02337.10
8.1.230.0270.01733.79
8.1.220.0090.01933.58
8.1.210.0100.01933.30
8.1.200.0100.02033.42
8.1.190.0190.01033.16
8.1.180.0070.02133.59
8.1.170.0110.01434.91
8.1.160.0030.02137.96
8.1.150.0160.01235.18
8.1.140.0070.02235.57
8.1.130.0140.01433.61
8.1.120.0030.02433.49
8.1.110.0100.01933.45
8.1.100.0090.01833.48
8.1.90.0070.02033.42
8.1.80.0080.02833.46
8.1.70.0120.01533.48
8.1.60.0160.01333.54
8.1.50.0110.01833.48
8.1.40.0140.01433.52
8.1.30.0110.01833.56
8.1.20.0100.01933.60
8.1.10.0230.02649.58
8.1.00.0130.03649.39
8.0.300.0180.02948.75
8.0.290.0190.02848.64
8.0.280.0240.02450.25
8.0.270.0100.03749.14
8.0.260.0170.03049.25
8.0.250.0260.02348.91
8.0.240.0200.02748.82
8.0.230.0160.03348.70
8.0.220.0130.03648.67
8.0.210.0100.03848.81
8.0.200.0190.03948.73
8.0.190.0130.03448.89
8.0.180.0200.03048.79
8.0.170.0140.03548.79
8.0.160.0240.02448.74
8.0.150.0140.03448.79
8.0.140.0170.03148.70
8.0.130.0440.08577.29
8.0.120.0130.03748.69
8.0.110.0190.02848.70
8.0.100.0200.02748.75
8.0.90.0130.03248.64
8.0.80.0310.06248.75
8.0.70.0230.02648.56
8.0.60.0200.02748.61
8.0.50.0140.03448.62
8.0.30.0410.05648.88
8.0.20.0600.04948.82
8.0.10.0130.03648.70
8.0.00.0590.04948.54
7.4.330.0070.02945.42
7.4.320.0230.02648.28
7.4.300.0160.03248.35
7.4.290.0190.02948.31
7.4.280.0170.03448.35
7.4.270.0100.04148.38
7.4.260.0130.04048.21
7.4.250.0170.03748.32
7.4.240.0200.03148.36
7.4.230.0240.02448.19
7.4.220.0460.05548.51
7.4.210.0380.05548.27
7.4.200.0110.03948.20
7.4.160.0330.06648.33
7.4.150.0400.06648.33
7.4.140.0460.07448.34
7.4.130.0540.06848.47
7.4.120.0530.05848.41
7.4.110.0450.06548.40
7.4.100.0480.05848.29
7.4.90.0830.08048.37
7.4.80.0690.08548.56
7.4.70.0400.06748.46
7.4.60.0420.06248.43
7.4.50.0110.02848.34
7.4.40.0360.09048.35
7.4.30.0500.05448.27
7.4.00.0300.06146.71
7.3.330.0400.05377.09
7.3.320.0270.06577.13
7.3.310.0140.03848.18
7.3.300.0330.01748.08
7.3.290.0560.06348.17
7.3.280.0620.06448.13
7.3.270.0480.06248.16
7.3.260.0610.05048.48
7.3.250.0470.07648.28
7.3.240.0490.07748.12
7.3.230.0500.06048.34
7.3.210.0480.06248.32
7.3.200.0570.05048.19
7.3.190.0490.07348.24
7.3.180.0500.05748.25
7.3.170.0460.06348.27
7.3.160.0460.06248.03
7.3.120.0400.06746.68
7.3.110.0240.07946.72
7.3.100.0200.05946.52
7.3.90.0200.05946.73
7.3.80.0290.05246.74
7.3.70.0360.03046.67
7.3.60.0360.06246.75
7.3.50.0270.04446.67
7.3.40.0230.04946.52
7.3.30.0320.06246.55
7.3.20.0340.04448.55
7.3.10.0200.05948.29
7.3.00.0130.04648.69
7.2.330.0600.10048.46
7.2.320.0590.10748.57
7.2.310.0530.05748.56
7.2.300.0610.05548.50
7.2.290.0560.10148.53
7.2.250.0370.06046.77
7.2.240.0230.06446.86
7.2.230.0230.07346.99
7.2.220.0200.05746.72
7.2.210.0290.05146.98
7.2.200.0330.05447.00
7.2.190.0360.05247.03
7.2.180.0300.06046.83
7.2.170.0200.06146.69
7.2.60.0820.04648.59
7.2.00.0850.05851.18
7.1.330.0060.08747.83
7.1.320.0100.09147.61
7.1.310.0130.08847.63
7.1.300.0070.08947.77
7.1.290.0070.09747.40
7.1.280.0130.10347.50
7.1.270.0260.07847.62
7.1.260.0100.09347.53
7.1.200.1030.04847.80
7.1.100.0100.04149.98
7.1.70.0210.05148.90
7.1.60.0230.07349.00
7.1.50.0340.07166.61
7.1.00.0170.11754.19
7.0.200.2980.05346.82
7.0.60.0170.14052.08
7.0.50.0130.11049.69
7.0.40.0200.13335.94
7.0.30.0500.08735.76
7.0.20.0770.10035.75
7.0.10.0300.10735.88
7.0.00.0170.13735.91
5.6.280.0430.17385.55
5.6.210.0300.18785.07
5.6.200.0200.18782.62
5.6.190.0470.16384.91
5.6.180.0400.15384.87
5.6.170.0500.17084.77
5.6.160.0130.20084.61
5.6.150.0230.14382.66
5.6.140.0270.18782.62
5.6.130.0400.16382.59
5.6.120.0400.17385.49
5.6.110.0270.17085.54
5.6.100.0200.17385.62
5.6.90.0230.16385.61
5.6.80.0200.12384.90
5.5.350.4200.12385.00
5.5.340.0200.16782.24
5.5.330.0200.14784.58
5.5.320.0400.18084.67
5.5.310.0670.16384.57
5.5.300.0200.15782.39
5.5.290.0270.18382.48
5.5.280.0130.15085.19
5.5.270.0230.18385.48
5.5.260.0430.15385.39
5.5.250.0170.13385.00
5.5.240.0630.15784.79

preferences:
48.45 ms | 401 KiB | 5 Q