3v4l.org

run code in 300+ PHP versions simultaneously
<?php $regex = '/<!--.*? ([\d\.]+)/s'; $string = '<!--Version 5.2 Vehicle Selling Price added to contracting request--> <!--Version 5.1.1 Fixed issue with EX1DealStatus, see PRO-940--> <!--Version 5.1 Added form fields complex type to rate response, s'; preg_match_all($regex,$string,$o); echo $string[1][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.0070.01116.63
8.3.50.0150.00318.02
8.3.40.0140.00719.04
8.3.30.0110.00318.90
8.3.20.0080.00018.77
8.3.10.0040.00421.73
8.3.00.0000.00721.90
8.2.180.0160.00616.75
8.2.170.0140.00322.96
8.2.160.0080.00622.20
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0030.00519.96
8.2.120.0040.00426.35
8.2.110.0100.00022.29
8.2.100.0090.00717.84
8.2.90.0000.00821.26
8.2.80.0000.00917.97
8.2.70.0030.00617.93
8.2.60.0040.00418.04
8.2.50.0030.00518.10
8.2.40.0040.00420.47
8.2.30.0080.00019.22
8.2.20.0040.00418.21
8.2.10.0020.00518.03
8.2.00.0000.00717.65
8.1.280.0120.00325.92
8.1.270.0070.00023.79
8.1.260.0050.00328.09
8.1.250.0080.00028.09
8.1.240.0060.00322.19
8.1.230.0040.00818.95
8.1.220.0040.00417.74
8.1.210.0060.00318.77
8.1.200.0030.00617.47
8.1.190.0060.00317.23
8.1.180.0040.00418.10
8.1.170.0030.00518.71
8.1.160.0000.00723.92
8.1.150.0000.00720.58
8.1.140.0040.00419.50
8.1.130.0000.00717.72
8.1.120.0000.00717.59
8.1.110.0040.00417.50
8.1.100.0030.00517.45
8.1.90.0000.00817.61
8.1.80.0040.00417.55
8.1.70.0060.00317.46
8.1.60.0000.00817.69
8.1.50.0030.00517.67
8.1.40.0050.00517.63
8.1.30.0090.00017.77
8.1.20.0040.00417.71
8.1.10.0000.00917.71
8.1.00.0080.00417.68
8.0.300.0000.00821.64
8.0.290.0040.00416.88
8.0.280.0030.00318.53
8.0.270.0040.00417.29
8.0.260.0030.00317.21
8.0.250.0070.00017.11
8.0.240.0000.00717.13
8.0.230.0070.00017.12
8.0.220.0040.00416.97
8.0.210.0030.00316.94
8.0.200.0000.00717.06
8.0.190.0030.00617.02
8.0.180.0070.00016.86
8.0.170.0040.00416.83
8.0.160.0000.00716.88
8.0.150.0070.00016.91
8.0.140.0070.00016.99
8.0.130.0060.00013.43
8.0.120.0040.00416.95
8.0.110.0000.00716.91
8.0.100.0030.00516.77
8.0.90.0060.00316.96
8.0.80.0030.02016.93
8.0.70.0000.00716.99
8.0.60.0030.00517.08
8.0.50.0030.00517.03
8.0.30.0110.01017.03
8.0.20.0130.00717.40
8.0.10.0080.00017.16
8.0.00.0090.00916.73
7.4.330.0000.00515.55
7.4.320.0060.00016.65
7.4.300.0030.00316.66
7.4.290.0030.00516.63
7.4.280.0070.00016.66
7.4.270.0030.00316.70
7.4.260.0000.00816.66
7.4.250.0000.00816.70
7.4.240.0000.00716.75
7.4.230.0080.00016.66
7.4.220.0060.01216.79
7.4.210.0150.00016.73
7.4.200.0070.00016.72
7.4.160.0100.00616.79
7.4.150.0120.00617.40
7.4.140.0150.00417.86
7.4.130.0140.00516.64
7.4.120.0090.00816.60
7.4.110.0070.01416.70
7.4.100.0100.00616.56
7.4.90.0110.00816.75
7.4.80.0090.00919.39
7.4.70.0160.00316.59
7.4.60.0030.01416.58
7.4.50.0090.00316.79
7.4.40.0060.00916.59
7.4.30.0080.00816.67
7.4.00.0070.00714.94
7.3.330.0000.00513.25
7.3.320.0000.00513.18
7.3.310.0060.00016.28
7.3.300.0000.00616.24
7.3.290.0130.00216.38
7.3.280.0080.01116.45
7.3.270.0150.00917.40
7.3.260.0130.00716.71
7.3.250.0090.01016.45
7.3.240.0130.01016.45
7.3.230.0140.00316.65
7.3.210.0070.01016.41
7.3.200.0110.00716.45
7.3.190.0150.00616.63
7.3.180.0120.00316.35
7.3.170.0110.00616.32
7.3.160.0030.01516.67
7.2.330.0070.01016.75
7.2.320.0070.01116.77
7.2.310.0060.01016.83
7.2.300.0070.01016.69
7.2.290.0060.01016.64
7.2.60.0030.00916.83
7.2.50.0070.00716.82
7.2.00.0030.00619.57
7.1.200.0060.00315.67
7.1.70.0040.00417.37
7.1.60.0000.01117.40
7.1.00.0070.07322.50
7.0.200.0350.00614.56
7.0.120.0130.04722.18
7.0.110.0070.05722.01
7.0.100.0100.05722.00
7.0.90.0070.05722.07
7.0.80.0070.05322.10
7.0.70.0070.05722.05
7.0.60.0130.05022.07
7.0.50.0070.05722.12
7.0.40.0070.05321.98
7.0.30.0100.05022.08
7.0.20.0070.06722.11
7.0.10.0070.06321.97
7.0.00.0170.05322.18
5.6.270.0070.05320.98
5.6.260.0130.05021.07
5.6.250.0130.05321.07
5.6.240.0100.05321.09
5.6.230.0000.06320.75
5.6.220.0100.05720.98
5.6.210.0070.06320.87
5.6.200.0130.05021.03
5.6.190.0100.05720.74
5.6.180.0130.04721.01
5.6.170.0070.05320.99
5.6.160.0100.05020.93
5.6.150.0200.05021.03
5.6.140.0070.05721.00
5.6.130.0030.06020.93
5.6.120.0170.06721.01
5.6.110.0100.06020.97
5.6.100.0100.05720.89
5.6.90.0130.05020.80
5.6.80.0030.05320.22
5.6.70.0070.05020.35
5.6.60.0000.06020.45
5.6.50.0000.05720.29
5.6.40.0170.05020.18
5.6.30.0270.05720.36
5.6.20.0030.06020.30
5.6.10.0100.06020.31
5.6.00.0130.04720.36

preferences:
62.41 ms | 401 KiB | 5 Q