3v4l.org

run code in 300+ PHP versions simultaneously
<?php $healthSafetyCodeList = array(); for ($i = 1; $i = 30; $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.0680.08164.72
8.3.50.0960.09964.56
8.3.40.0390.03343.00
8.3.30.0300.04342.83
8.3.20.0160.02544.29
8.3.10.0200.01746.37
8.3.00.0240.01741.91
8.2.180.0600.07064.82
8.2.170.0370.05043.63
8.2.160.0230.04044.76
8.2.150.0240.03142.79
8.2.140.0070.03544.53
8.2.130.0460.01041.73
8.2.120.0130.01346.20
8.2.110.0130.03744.67
8.2.100.0330.02942.10
8.2.90.0100.04043.23
8.2.80.0100.04041.43
8.2.70.0210.02841.63
8.2.60.0140.04241.88
8.2.50.0280.02841.55
8.2.40.0200.02743.39
8.2.30.0100.03444.55
8.2.20.0140.04441.70
8.2.10.0140.03542.08
8.2.00.0170.03341.99
8.1.280.0270.05149.93
8.1.270.0170.01438.13
8.1.260.0170.01038.22
8.1.250.0150.01138.25
8.1.240.0160.01937.02
8.1.230.0200.02033.73
8.1.220.0070.02233.62
8.1.210.0040.02833.42
8.1.200.0130.01933.27
8.1.190.0030.02833.17
8.1.180.0000.03033.61
8.1.170.0200.01034.59
8.1.160.0160.01338.00
8.1.150.0160.01634.88
8.1.140.0120.02135.64
8.1.130.0100.02333.74
8.1.120.0100.02033.50
8.1.110.0130.02033.45
8.1.100.0100.02133.33
8.1.90.0070.02433.37
8.1.80.0180.01533.34
8.1.70.0170.01333.38
8.1.60.0170.02033.45
8.1.50.0220.01333.55
8.1.40.0200.01333.49
8.1.30.0160.01933.58
8.1.20.0030.03133.51
8.1.10.0200.04149.48
8.1.00.0280.03549.54
8.0.300.0170.03748.86
8.0.290.0230.03048.60
8.0.280.0220.02950.42
8.0.270.0190.03249.22
8.0.260.0210.03149.19
8.0.250.0130.04048.80
8.0.240.0200.03448.88
8.0.230.0200.03948.70
8.0.220.0240.03448.78
8.0.210.0260.02948.83
8.0.200.0230.04348.84
8.0.190.0230.03648.71
8.0.180.0140.04248.88
8.0.170.0160.04648.80
8.0.160.0300.03048.93
8.0.150.0200.03748.80
8.0.140.0160.04348.80
8.0.130.0500.06377.38
8.0.120.0100.04748.71
8.0.110.0290.02648.74
8.0.100.0160.04148.76
8.0.90.0130.03948.56
8.0.80.0360.06048.75
8.0.70.0190.03548.53
8.0.60.0170.03748.67
8.0.50.0220.03548.72
8.0.30.0470.05748.95
8.0.20.0520.06748.89
8.0.10.0130.04348.77
8.0.00.0530.07448.62
7.4.330.0140.04245.28
7.4.320.0160.04148.41
7.4.300.0270.02748.25
7.4.290.0200.03948.25
7.4.280.0200.04448.40
7.4.270.0170.04448.24
7.4.260.0300.03048.30
7.4.250.0230.03748.17
7.4.240.0210.03648.39
7.4.230.0110.04648.31
7.4.220.0490.06548.41
7.4.210.0590.05248.42
7.4.200.0270.03148.14
7.4.160.0470.06348.36
7.4.150.0430.07448.25
7.4.140.0720.06448.45
7.4.130.0580.07048.51
7.4.120.0410.08048.37
7.4.110.0540.08048.38
7.4.100.0500.08348.53
7.4.90.0530.06648.38
7.4.80.0560.06648.33
7.4.70.0750.08848.43
7.4.60.0430.07148.39
7.4.50.0130.05048.48
7.4.40.0500.08348.56
7.4.30.0520.06548.33
7.4.00.0170.07446.99
7.3.330.0330.08777.09
7.3.320.0500.06376.99
7.3.310.0170.04348.09
7.3.300.0170.04047.99
7.3.290.0610.08048.17
7.3.280.0540.07548.21
7.3.270.0720.08648.28
7.3.260.0290.08948.38
7.3.250.0430.08948.12
7.3.240.0530.07748.21
7.3.230.0580.06548.30
7.3.210.0360.10648.33
7.3.200.0790.05548.16
7.3.190.0640.07748.27
7.3.180.0650.05348.43
7.3.170.0430.08048.46
7.3.160.0580.06148.46
7.3.120.0240.06446.50
7.3.110.0260.06546.74
7.3.100.0230.07046.83
7.3.90.0270.06046.92
7.3.80.0330.05046.43
7.3.70.0310.05246.64
7.3.60.0230.06046.57
7.3.50.0270.06146.76
7.3.40.0330.05346.43
7.3.30.0370.05746.39
7.3.20.0100.06448.61
7.3.10.1590.05448.46
7.3.00.0350.06648.26
7.2.330.0560.09048.50
7.2.320.0420.08548.46
7.2.310.0500.07748.59
7.2.300.0440.08748.63
7.2.290.0470.14048.50
7.2.240.0160.07146.64
7.2.230.0130.07947.09
7.2.220.0200.06747.06
7.2.210.0300.06346.82
7.2.200.0230.07346.70
7.2.190.0200.06746.61
7.2.180.0170.07646.68
7.2.170.0230.06946.73
7.2.160.0200.06446.93
7.2.150.0140.06148.82
7.2.140.0060.06148.62
7.2.130.0380.06847.80
7.2.120.0380.05748.79
7.2.110.0310.07247.94
7.2.100.0430.06848.67
7.2.90.0280.06348.79
7.2.80.0340.06148.48
7.2.70.0240.07248.82
7.2.60.0490.05948.73
7.2.50.0270.06748.54
7.2.40.0240.06648.80
7.2.30.0270.06948.84
7.2.20.0250.07348.81
7.2.10.0230.07248.74
7.2.00.0430.06249.56
7.1.330.0200.08647.63
7.1.320.0170.08947.38
7.1.310.0070.09647.85
7.1.300.0070.09147.71
7.1.290.0070.09947.47
7.1.280.0070.09647.77
7.1.270.0100.09447.44
7.1.260.0070.09147.70
7.1.250.0460.09147.49
7.1.200.0470.05747.79
7.1.100.0140.03849.96
7.1.70.0300.05349.04
7.1.60.0340.06049.28
7.1.50.0100.04666.52
7.1.00.0130.12754.38
7.0.200.3750.04646.99
7.0.60.0170.12051.96
7.0.50.0170.08349.75
7.0.40.0170.08335.90
7.0.30.0630.12335.82
7.0.20.0730.07035.70
7.0.10.0200.13735.86
7.0.00.0230.13735.88
5.6.280.0270.19785.58
5.6.210.0530.16785.27
5.6.200.0600.14782.64
5.6.190.0200.15384.83
5.6.180.0500.19784.66
5.6.170.0600.12384.87
5.6.160.0430.15084.90
5.6.150.0270.13382.64
5.6.140.0270.17082.58
5.6.130.0370.16382.59
5.6.120.0230.19385.49
5.6.110.0230.18785.62
5.6.100.0400.19385.50
5.6.90.0330.17785.50
5.6.80.0100.13785.02
5.5.350.4330.12384.84
5.5.340.0130.21382.47
5.5.330.0230.16084.61
5.5.320.0530.17084.56
5.5.310.0370.15084.54
5.5.300.0130.15382.48
5.5.290.0300.15082.34
5.5.280.0170.21085.41
5.5.270.0170.18385.35
5.5.260.0200.16085.37
5.5.250.0130.13785.20
5.5.240.0500.17084.77

preferences:
46.48 ms | 401 KiB | 5 Q