3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = 'http://localhost/bareos-webui/job/details/53135%0AYou%20have%20messages'; $somenumber = 3421; preg_match("'\d{1,99}(?=%)?'", $a, $matches); var_dump($matches);

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.0090.01218.55
8.3.50.0030.01018.12
8.3.40.0070.01418.97
8.3.30.0070.00718.83
8.3.20.0050.00318.70
8.3.10.0030.00623.27
8.3.00.0060.00323.56
8.2.180.0090.00618.54
8.2.170.0070.01122.96
8.2.160.0040.01119.18
8.2.150.0060.00324.18
8.2.140.0080.00024.66
8.2.130.0060.00320.39
8.2.120.0050.00326.35
8.2.110.0100.00019.11
8.2.100.0000.01219.76
8.2.90.0030.00619.22
8.2.80.0040.00417.97
8.2.70.0040.00417.68
8.2.60.0000.00917.90
8.2.50.0040.00418.10
8.2.40.0040.00419.35
8.2.30.0080.00019.20
8.2.20.0040.00418.07
8.2.10.0050.00317.89
8.2.00.0040.00419.25
8.1.280.0110.00725.92
8.1.270.0030.00522.02
8.1.260.0050.00326.35
8.1.250.0040.00428.09
8.1.240.0070.00322.64
8.1.230.0080.00422.25
8.1.220.0000.00817.74
8.1.210.0040.00418.77
8.1.200.0030.00617.25
8.1.190.0030.00617.23
8.1.180.0040.00418.10
8.1.170.0000.00818.83
8.1.160.0030.00618.81
8.1.150.0040.00418.84
8.1.140.0000.00818.91
8.1.130.0000.00819.06
8.1.120.0000.00717.54
8.1.110.0040.00417.48
8.1.100.0000.00717.60
8.1.90.0070.00417.52
8.1.80.0040.00417.61
8.1.70.0040.00417.55
8.1.60.0040.00417.68
8.1.50.0040.00417.64
8.1.40.0040.00417.47
8.1.30.0040.00717.73
8.1.20.0050.00317.63
8.1.10.0040.00417.68
8.1.00.0080.00017.47
8.0.300.0070.00018.77
8.0.290.0110.00016.75
8.0.280.0000.00718.39
8.0.270.0030.00317.19
8.0.260.0030.00317.18
8.0.250.0000.00716.92
8.0.240.0000.00617.04
8.0.230.0070.00017.02
8.0.220.0070.00016.94
8.0.210.0030.00316.88
8.0.200.0040.00416.92
8.0.190.0030.00317.07
8.0.180.0070.00016.96
8.0.170.0090.00017.05
8.0.160.0000.00716.86
8.0.150.0000.00716.90
8.0.140.0000.00716.93
8.0.130.0030.00313.36
8.0.120.0030.00616.82
8.0.110.0040.00416.87
8.0.100.0040.00416.86
8.0.90.0000.00716.75
8.0.80.0080.01216.89
8.0.70.0000.00717.00
8.0.60.0040.00416.79
8.0.50.0040.00416.97
8.0.30.0090.01017.23
8.0.20.0130.00717.40
8.0.10.0080.00017.09
8.0.00.0090.01016.78
7.4.330.0000.00515.55
7.4.320.0060.00016.65
7.4.300.0000.00716.65
7.4.290.0070.00016.64
7.4.280.0030.00516.74
7.4.270.0030.00316.78
7.4.260.0070.00016.64
7.4.250.0040.00416.62
7.4.240.0040.00416.73
7.4.230.0050.00216.80
7.4.220.0050.00316.78
7.4.210.0050.01116.72
7.4.200.0040.00416.62
7.4.160.0050.01116.55
7.4.140.0100.00717.86
7.4.130.0110.01516.45
7.4.120.0110.00716.59
7.4.110.0040.01216.55
7.4.100.0060.01116.68
7.4.90.0120.00616.61
7.4.80.0120.01219.39
7.4.70.0100.00716.55
7.4.60.0150.00316.68
7.4.50.0000.01416.52
7.4.40.0030.02016.26
7.4.00.0120.00415.07
7.3.330.0000.00513.18
7.3.320.0060.00013.08
7.3.310.0000.00716.14
7.3.300.0030.00316.27
7.3.290.0070.00016.14
7.3.280.0070.01316.31
7.3.260.0100.00816.29
7.3.240.0120.00616.41
7.3.230.0130.00716.34
7.3.210.0060.01216.70
7.3.200.0080.00816.55
7.3.190.0030.01316.67
7.3.180.0160.00016.52
7.3.170.0050.01116.46
7.3.160.0060.01616.30
7.2.330.0100.01016.70
7.2.320.0170.00716.55
7.2.310.0090.01316.45
7.2.300.0080.00816.69
7.2.290.0100.00716.71
7.2.80.0840.01414.80
7.2.70.0510.00715.01
7.2.60.0550.00314.74
7.2.50.0500.01015.16
7.2.40.0570.00714.86
7.2.30.1550.00314.94
7.2.20.0370.01015.03
7.2.10.0680.00715.07
7.2.00.0450.01315.08
7.1.200.0000.01215.70
7.1.190.0710.00313.91
7.1.180.0720.01213.95
7.1.170.0600.00713.94
7.1.160.0500.02114.06
7.1.150.1290.00713.95
7.1.140.0390.00613.95
7.1.130.0430.00613.66
7.1.120.0510.00713.71
7.1.110.0520.00913.97
7.1.100.0700.01013.71
7.1.90.0960.00413.98
7.1.80.0600.00314.10
7.1.70.0820.01613.97
7.1.60.1050.02032.11
7.1.50.1120.02032.11
7.1.40.0720.00731.96
7.1.30.1020.01331.84
7.1.20.1100.02031.87
7.1.10.0740.01014.02
7.1.00.0820.01213.89

preferences:
34.67 ms | 400 KiB | 5 Q