3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = "Hello! 123 test this? *456<. done? 100%"; $int = intval(preg_replace('~<(.*?)>~', '', $string), 10); echo $int;

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.70.0090.00618.56
8.3.60.0170.00018.21
8.3.50.0090.00821.15
8.3.40.0120.00318.71
8.3.30.0110.00318.97
8.3.20.0080.00019.02
8.3.10.0040.00421.55
8.3.00.0000.00819.56
8.2.190.0180.00016.88
8.2.180.0170.00318.54
8.2.170.0140.00722.96
8.2.160.0070.01120.46
8.2.150.0050.00324.18
8.2.140.0000.00824.66
8.2.130.0070.00326.16
8.2.120.0040.00421.25
8.2.110.0030.00619.39
8.2.100.0110.00018.03
8.2.90.0040.00418.03
8.2.80.0070.00417.97
8.2.70.0030.00617.63
8.2.60.0000.00817.80
8.2.50.0060.00318.10
8.2.40.0040.00420.59
8.2.30.0000.01019.26
8.2.20.0030.00617.95
8.2.10.0040.00418.07
8.2.00.0000.00717.86
8.1.280.0070.01025.92
8.1.270.0040.00424.66
8.1.260.0050.00326.35
8.1.250.0040.00428.09
8.1.240.0090.00321.96
8.1.230.0070.00421.10
8.1.220.0060.00317.77
8.1.210.0040.00418.91
8.1.200.0080.00317.35
8.1.190.0040.00417.35
8.1.180.0050.00318.10
8.1.170.0040.00418.67
8.1.160.0080.00019.03
8.1.150.0030.00518.75
8.1.140.0040.00419.40
8.1.130.0000.00820.86
8.1.120.0030.00617.51
8.1.110.0040.00417.45
8.1.100.0000.00717.55
8.1.90.0040.00417.42
8.1.80.0000.00917.52
8.1.70.0030.00317.50
8.1.60.0050.00317.50
8.1.50.0000.00817.46
8.1.40.0030.00617.59
8.1.30.0000.00817.76
8.1.20.0040.00417.62
8.1.10.0000.00817.68
8.1.00.0000.00817.63
8.0.300.0040.00419.98
8.0.290.0000.00716.88
8.0.280.0070.00018.36
8.0.270.0020.00517.26
8.0.260.0030.00317.18
8.0.250.0030.00317.04
8.0.240.0060.00017.12
8.0.230.0070.00017.08
8.0.220.0070.00016.85
8.0.210.0030.00316.85
8.0.200.0000.00617.06
8.0.190.0080.00017.06
8.0.180.0000.00716.92
8.0.170.0050.00316.96
8.0.160.0070.00016.96
8.0.150.0050.00316.89
8.0.140.0000.00716.88
8.0.130.0030.00313.41
8.0.120.0040.00416.95
8.0.110.0080.00016.91
8.0.100.0000.00717.06
8.0.90.0030.00316.82
8.0.80.0030.01317.00
8.0.70.0070.00016.79
8.0.60.0000.00716.75
8.0.50.0000.00716.98
8.0.30.0130.00617.16
8.0.20.0110.00817.45
8.0.10.0000.00816.97
8.0.00.0060.01316.56
7.4.330.0020.00215.55
7.4.320.0030.00316.78
7.4.300.0040.00416.79
7.4.290.0030.00516.54
7.4.280.0000.00716.70
7.4.270.0030.00316.75
7.4.260.0070.00016.64
7.4.250.0040.00416.70
7.4.240.0000.00716.61
7.4.230.0000.00716.44
7.4.220.0060.01916.69
7.4.210.0040.01116.75
7.4.200.0030.00316.67
7.4.160.0050.01016.64
7.4.150.0160.00917.40
7.4.140.0080.01017.86
7.4.130.0060.01116.54
7.4.120.0070.01316.63
7.4.110.0150.00716.46
7.4.100.0040.01416.70
7.4.90.0120.00616.55
7.4.80.0090.01519.39
7.4.70.0040.01216.64
7.4.60.0180.00016.50
7.4.50.0070.00716.70
7.4.40.0030.01316.66
7.4.30.0090.01216.44
7.4.00.0060.01014.79
7.3.330.0000.00513.27
7.3.320.0060.00013.09
7.3.310.0000.00716.21
7.3.300.0000.00616.18
7.3.290.0070.00816.39
7.3.280.0100.00916.39
7.3.270.0070.01017.40
7.3.260.0090.01016.39
7.3.250.0100.00716.45
7.3.240.0120.00516.39
7.3.230.0130.00316.58
7.3.210.0100.00716.34
7.3.200.0170.00016.47
7.3.190.0100.00616.60
7.3.180.0070.01316.56
7.3.170.0140.00816.57
7.3.160.0070.01716.62
7.2.330.0210.00316.81
7.2.320.0100.00616.68
7.2.310.0140.00316.70
7.2.300.0120.00816.71
7.2.290.0170.00016.66
7.2.60.0070.00716.89
7.2.50.0060.01017.09
7.1.200.0090.00616.10
7.1.70.0030.00717.02
7.1.60.0000.01017.45
7.1.00.0030.06022.66
7.0.200.0100.00315.12
7.0.140.0100.05021.98
7.0.130.0070.05722.00
7.0.120.0070.05722.06
7.0.110.0130.05322.06
7.0.100.0070.06022.01
7.0.90.0200.05022.19
7.0.80.0130.05022.13
7.0.70.0170.05022.17
7.0.60.0100.05322.05
7.0.50.0100.05322.11
7.0.40.0100.05322.14
7.0.30.0070.05721.98
7.0.20.0000.06722.00
7.0.10.0130.05022.16
7.0.00.0100.05721.96
5.6.290.0100.05020.80
5.6.280.0130.05320.89
5.6.270.0000.06020.91
5.6.260.0030.06021.06
5.6.250.0000.06320.95
5.6.240.0130.05321.15
5.6.230.0170.05020.81
5.6.220.0070.05720.70
5.6.210.0100.05320.91
5.6.200.0100.05721.07
5.6.190.0170.05020.91
5.6.180.0230.06321.07
5.6.170.0130.05021.03
5.6.160.0030.06021.06
5.6.150.0130.05321.03
5.6.140.0100.05720.76
5.6.130.0130.05020.98
5.6.120.0070.06021.03
5.6.110.0170.05020.85
5.6.100.0170.05320.89
5.6.90.0170.04721.02
5.6.80.0170.04320.40
5.6.70.0030.05720.19
5.6.60.0100.05320.22
5.6.50.0100.05020.45
5.6.40.0200.04320.42
5.6.30.0070.05320.17
5.6.20.0100.05320.41
5.6.10.0100.05020.21
5.6.00.0000.05720.47

preferences:
71.89 ms | 401 KiB | 5 Q