3v4l.org

run code in 300+ PHP versions simultaneously
<?php $rawheight = "1.20m"; $height = preg_split("[m]", $rawheight); echo $height[0]; ?>

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.00416.50
8.3.50.0070.00716.22
8.3.40.0110.01119.06
8.3.30.0040.01118.83
8.3.20.0040.00420.16
8.3.10.0040.00421.77
8.3.00.0040.00417.91
8.2.180.0110.00716.75
8.2.170.0070.00722.96
8.2.160.0100.00320.47
8.2.150.0000.00824.18
8.2.140.0000.00824.66
8.2.130.0000.00722.05
8.2.120.0040.00426.35
8.2.110.0000.00922.11
8.2.100.0070.00418.06
8.2.90.0000.00819.34
8.2.80.0080.00017.97
8.2.70.0000.00917.88
8.2.60.0060.00317.93
8.2.50.0000.00818.10
8.2.40.0040.00420.46
8.2.30.0000.00821.05
8.2.20.0040.00418.07
8.2.10.0040.00418.04
8.2.00.0000.00718.02
8.1.280.0080.00825.92
8.1.270.0040.00423.96
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0030.00620.75
8.1.230.0060.00619.09
8.1.220.0030.00617.76
8.1.210.0030.00518.77
8.1.200.0100.00017.47
8.1.190.0040.00417.35
8.1.180.0030.00518.10
8.1.170.0080.00018.68
8.1.160.0000.00818.95
8.1.150.0040.00420.55
8.1.140.0080.00017.50
8.1.130.0030.00318.85
8.1.120.0000.00717.55
8.1.110.0050.00317.43
8.1.100.0000.00717.54
8.1.90.0030.00517.47
8.1.80.0040.00417.51
8.1.70.0080.00017.59
8.1.60.0050.00317.51
8.1.50.0000.00817.60
8.1.40.0020.00517.55
8.1.30.0060.00317.70
8.1.20.0050.00517.75
8.1.10.0000.00717.75
8.1.00.0050.00317.72
8.0.300.0000.00818.77
8.0.290.0000.00716.88
8.0.280.0000.00718.47
8.0.270.0070.00017.34
8.0.260.0000.00617.01
8.0.250.0060.00017.04
8.0.240.0070.00017.05
8.0.230.0070.00017.13
8.0.220.0080.00016.94
8.0.210.0030.00316.97
8.0.200.0000.00617.00
8.0.190.0040.00716.92
8.0.180.0060.00316.91
8.0.170.0040.00416.86
8.0.160.0070.00317.05
8.0.150.0000.00717.00
8.0.140.0040.00416.91
8.0.130.0030.00313.32
8.0.120.0040.00416.83
8.0.110.0000.00716.87
8.0.100.0040.00316.86
8.0.90.0070.00016.97
8.0.80.0060.00916.89
8.0.70.0000.00716.93
8.0.60.0000.00716.85
8.0.50.0040.00416.86
8.0.30.0140.00517.07
8.0.20.0080.01117.41
8.0.10.0070.00017.14
8.0.00.0100.00716.93
7.4.330.0050.00015.55
7.4.320.0060.00016.74
7.4.300.0000.00616.75
7.4.290.0070.00016.75
7.4.280.0030.00516.79
7.4.270.0040.00416.79
7.4.260.0060.00316.60
7.4.250.0030.00316.61
7.4.240.0000.00716.75
7.4.230.0000.00716.81
7.4.220.0070.01316.79
7.4.210.0130.00316.61
7.4.200.0030.00516.70
7.4.160.0080.00916.60
7.4.150.0080.01817.40
7.4.140.0100.00817.86
7.4.130.0030.01416.60
7.4.120.0100.00816.56
7.4.110.0140.00316.67
7.4.100.0060.01016.50
7.4.90.0060.01116.71
7.4.80.0060.01819.39
7.4.70.0060.00916.64
7.4.60.0090.00616.61
7.4.50.0060.00916.67
7.4.40.0090.00916.50
7.4.30.0090.00616.65
7.4.00.0070.00715.05
7.3.330.0060.00013.16
7.3.320.0000.00513.20
7.3.310.0080.00016.31
7.3.300.0030.00316.26
7.3.290.0050.01016.37
7.3.280.0090.00816.35
7.3.270.0110.00817.40
7.3.260.0090.00716.43
7.3.250.0100.01016.59
7.3.240.0110.00816.67
7.3.230.0090.00916.32
7.3.210.0030.01616.63
7.3.200.0030.01316.65
7.3.190.0120.00516.32
7.3.180.0120.00416.46
7.3.170.0030.01216.74
7.3.160.0120.00416.60
7.2.330.0120.00616.89
7.2.320.0110.00716.98
7.2.310.0090.01216.71
7.2.300.0120.00616.56
7.2.290.0060.01016.72
7.2.60.0030.01016.74
7.2.00.0100.00319.64
7.1.200.0050.00815.70
7.1.100.0060.00618.32
7.1.70.0060.00917.38
7.1.60.0170.01135.19
7.1.50.0160.01335.02
7.1.40.0230.01734.53
7.1.30.0240.01334.47
7.1.20.0210.01534.84
7.1.10.0100.00316.70
7.1.00.0040.00916.69
7.0.200.0040.00816.86
7.0.190.0030.01016.96
7.0.180.0030.01416.50
7.0.170.0070.01016.27
7.0.160.0030.01316.38
7.0.150.0000.01216.33
7.0.140.0030.01016.42
7.0.130.0040.01216.63
7.0.120.0060.00916.71
7.0.110.0030.01216.36
7.0.100.0080.00816.23
7.0.90.0020.01516.64
7.0.80.0040.01016.23
7.0.70.0000.01416.41
7.0.60.0000.01316.17
7.0.50.0060.00616.55
7.0.40.0030.01016.51
7.0.30.0000.01316.62
7.0.20.0030.01216.43
7.0.10.0080.00816.32
7.0.00.0040.01116.52

preferences:
47.95 ms | 400 KiB | 5 Q