3v4l.org

run code in 300+ PHP versions simultaneously
<?php $sampleString = "082307"; $length = strlen($sampleString); while ($length%2 == 0) echo chunk_split($sampleString, 2, ':'); ?>

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.0110.00716.50
8.3.50.0150.00621.93
8.3.40.0140.00718.51
8.3.30.0130.00718.89
8.3.20.0060.00320.07
8.3.10.0040.00720.53
8.3.00.0040.00719.25
8.2.180.0000.01916.50
8.2.170.0090.01222.96
8.2.160.0170.00319.04
8.2.150.0040.00724.18
8.2.140.0070.00424.66
8.2.130.0100.00026.16
8.2.120.0070.00321.16
8.2.110.0080.00420.45
8.2.100.0110.00418.22
8.2.90.0100.00319.04
8.2.80.0070.00317.97
8.2.70.0070.00317.63
8.2.60.0030.00617.93
8.2.50.0090.00018.07
8.2.40.0080.00418.22
8.2.30.0030.00819.37
8.2.20.0090.00017.74
8.2.10.0080.00418.24
8.2.00.0060.00317.74
8.1.280.0130.01025.92
8.1.270.0050.00523.91
8.1.260.0110.00026.35
8.1.250.0100.00028.09
8.1.240.0120.00023.84
8.1.230.0100.00319.09
8.1.220.0090.00017.80
8.1.210.0060.00318.77
8.1.200.0070.00317.23
8.1.190.0000.00917.25
8.1.180.0040.00418.10
8.1.170.0090.00018.57
8.1.160.0030.00622.00
8.1.150.0050.00519.02
8.1.140.0000.00817.57
8.1.130.0080.00017.81
8.1.120.0040.00417.48
8.1.110.0000.01017.53
8.1.100.0080.00017.43
8.1.90.0040.00417.54
8.1.80.0040.00417.40
8.1.70.0000.00817.46
8.1.60.0040.00717.62
8.1.50.0040.00417.56
8.1.40.0030.00617.45
8.1.30.0060.00317.66
8.1.20.0040.00717.70
8.1.10.0040.00417.45
8.1.00.0060.00317.38
8.0.300.0080.00018.77
8.0.290.0040.00416.63
8.0.280.0060.00318.36
8.0.270.0060.00317.09
8.0.260.0040.00417.19
8.0.250.0080.00016.81
8.0.240.0090.00016.77
8.0.230.0000.01016.79
8.0.220.0060.00316.69
8.0.210.0030.00516.76
8.0.200.0040.00416.92
8.0.190.0060.00316.83
8.0.180.0060.00316.74
8.0.170.0070.00416.75
8.0.160.0090.00016.85
8.0.150.0090.00016.82
8.0.140.0080.00316.77
8.0.130.0040.00413.31
8.0.120.0000.01016.76
8.0.110.0080.00016.73
8.0.100.0030.00616.79
8.0.90.0030.00716.82
8.0.80.0150.01216.80
8.0.70.0040.00416.64
8.0.60.0000.00816.64
8.0.50.0090.00016.81
8.0.30.0240.01117.04
8.0.20.0230.01417.40
8.0.10.0060.00316.89
8.0.00.0210.01416.60
7.4.330.0030.00315.00
7.4.320.0070.00016.36
7.4.300.0040.00416.45
7.4.290.0050.00316.44
7.4.280.0100.00316.48
7.4.270.0090.00016.22
7.4.260.0050.00316.24
7.4.250.0050.00316.36
7.4.240.0040.00516.43
7.4.230.0040.00416.45
7.4.220.0230.00716.50
7.4.210.0070.02416.49
7.4.200.0060.00316.38
7.4.160.0120.01616.50
7.4.150.0220.01217.40
7.4.140.0230.01417.86
7.4.130.0240.01416.35
7.4.120.0160.01416.42
7.4.110.0190.01616.47
7.4.100.0210.01716.41
7.4.90.0220.00616.15
7.4.80.0250.00619.39
7.4.70.0200.01716.51
7.4.60.0100.01916.47
7.4.50.0080.00316.11
7.4.40.0110.01716.37
7.4.30.0180.02016.58
7.4.00.0030.01714.89
7.3.330.0040.00413.16
7.3.320.0030.00313.11
7.3.310.0030.00616.13
7.3.300.0050.00316.10
7.3.290.0090.01216.15
7.3.280.0160.01416.21
7.3.270.0190.01317.40
7.3.260.0200.01216.27
7.3.250.0180.02116.32
7.3.240.0300.01516.29
7.3.230.0250.00616.39
7.3.210.0130.01716.41
7.3.200.0200.02319.39
7.3.190.0150.02116.57
7.3.180.0100.01616.17
7.3.170.0190.01316.27
7.3.160.0170.01016.40
7.2.330.0200.01716.50
7.2.320.0220.00916.61
7.2.310.0200.02016.38
7.2.300.0170.01716.60
7.2.290.0100.01816.39
7.1.70.0070.00717.17
7.1.60.0170.01419.61
7.1.50.0090.01516.98
7.0.200.0040.00816.74

preferences:
36.2 ms | 401 KiB | 5 Q