3v4l.org

run code in 300+ PHP versions simultaneously
<?php $value = 'http://static.theiconic.com.au/cms/site_updates/Week 42/MSS_1_150x245px.jpghttp://,http://,http://,http://'; $pattern = '/^http:\/\//i'; preg_match_all($pattern, $value, $matches, PREG_PATTERN_ORDER); 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.0070.01516.88
8.3.50.0170.00316.64
8.3.40.0120.00319.02
8.3.30.0070.00718.70
8.3.20.0080.00021.92
8.3.10.0050.00323.66
8.3.00.0080.00022.09
8.2.180.0150.00618.66
8.2.170.0070.00722.96
8.2.160.0140.00318.96
8.2.150.0050.00324.18
8.2.140.0050.00324.66
8.2.130.0000.00821.07
8.2.120.0040.00426.35
8.2.110.0000.01022.29
8.2.100.0000.01117.81
8.2.90.0030.00619.23
8.2.80.0050.00317.97
8.2.70.0000.00817.75
8.2.60.0040.00417.80
8.2.50.0060.00318.10
8.2.40.0070.00020.55
8.2.30.0040.00421.00
8.2.20.0040.00417.97
8.2.10.0040.00418.01
8.2.00.0040.00417.99
8.1.280.0070.00725.92
8.1.270.0040.00422.14
8.1.260.0080.00026.35
8.1.250.0030.00528.09
8.1.240.0040.00423.92
8.1.230.0040.00722.20
8.1.220.0060.00317.74
8.1.210.0040.00418.77
8.1.200.0030.00717.25
8.1.190.0050.00317.25
8.1.180.0050.00318.10
8.1.170.0030.00619.02
8.1.160.0050.00319.06
8.1.150.0000.00720.60
8.1.140.0040.00419.45
8.1.130.0040.00418.81
8.1.120.0000.00817.45
8.1.110.0000.00717.53
8.1.100.0040.00417.46
8.1.90.0040.00417.50
8.1.80.0000.00817.53
8.1.70.0030.00317.54
8.1.60.0040.00417.71
8.1.50.0000.00817.57
8.1.40.0040.00417.57
8.1.30.0000.00917.70
8.1.20.0050.00317.74
8.1.10.0000.00817.56
8.1.00.0040.00417.58
8.0.300.0000.00818.77
8.0.290.0000.00716.88
8.0.280.0080.00018.39
8.0.270.0050.00217.24
8.0.260.0000.00816.81
8.0.250.0030.00317.09
8.0.240.0070.00017.05
8.0.230.0030.00317.03
8.0.220.0000.00716.95
8.0.210.0040.00416.92
8.0.200.0030.00316.98
8.0.190.0000.00716.93
8.0.180.0000.00816.91
8.0.170.0070.00016.97
8.0.160.0040.00416.88
8.0.150.0080.00016.93
8.0.140.0040.00416.91
8.0.130.0000.00513.41
8.0.120.0030.00516.93
8.0.110.0000.00716.81
8.0.100.0070.00016.86
8.0.90.0040.00416.82
8.0.80.0130.00616.90
8.0.70.0000.00816.88
8.0.60.0000.00716.96
8.0.50.0070.00016.90
8.0.30.0080.00917.23
8.0.20.0100.00917.41
8.0.10.0040.00416.91
8.0.00.0120.01216.78
7.4.330.0000.00515.55
7.4.320.0030.00316.70
7.4.300.0000.00816.64
7.4.290.0050.00316.56
7.4.280.0050.00516.71
7.4.270.0030.00516.63
7.4.260.0070.00016.71
7.4.250.0040.00416.66
7.4.240.0080.00016.72
7.4.230.0000.00716.62
7.4.220.0110.00716.67
7.4.210.0100.00716.77
7.4.200.0030.00316.62
7.4.160.0060.01216.59
7.4.150.0070.01317.40
7.4.140.0140.00517.86
7.4.130.0090.00916.75
7.4.120.0130.00516.67
7.4.110.0090.01216.62
7.4.100.0090.00916.59
7.4.90.0130.00416.50
7.4.80.0090.00919.39
7.4.70.0070.01016.66
7.4.60.0100.00716.62
7.4.50.0030.01216.48
7.4.40.0160.00816.73
7.4.30.0130.00716.53
7.4.00.0100.00715.04
7.3.330.0000.00513.12
7.3.320.0020.00213.09
7.3.310.0080.00016.37
7.3.300.0030.00316.26
7.3.290.0030.00316.27
7.3.280.0090.00816.27
7.3.270.0090.00917.40
7.3.260.0090.01116.29
7.3.250.0100.00916.58
7.3.240.0120.00816.49
7.3.230.0090.00916.49
7.3.210.0090.01216.28
7.3.200.0120.00916.23
7.3.190.0070.01416.31
7.3.180.0080.00816.48
7.3.170.0060.00916.45
7.3.160.0130.00316.71
7.3.120.0070.01014.35
7.3.110.0030.01414.69
7.3.100.0000.01614.98
7.3.90.0030.00614.70
7.3.80.0080.00714.90
7.3.70.0060.00614.50
7.3.60.0000.01014.44
7.3.50.0060.00614.68
7.3.40.0040.01114.77
7.3.30.0030.00614.64
7.3.20.0070.00416.72
7.3.10.0070.00716.42
7.3.00.0060.00916.77
7.2.330.0060.01216.68
7.2.320.0090.00916.74
7.2.310.0070.01016.57
7.2.300.0080.00816.75
7.2.290.0150.00616.55
7.2.250.0070.01414.76
7.2.240.0100.00715.21
7.2.230.0100.00614.95
7.2.220.0060.00614.84
7.2.210.0040.01414.84
7.2.200.0030.00715.01
7.2.190.0030.01115.07
7.2.180.0030.01014.97
7.2.170.0030.00614.86
7.2.80.0000.01516.36
7.2.60.0000.01516.46
7.2.00.0000.00919.50
7.1.330.0030.01015.83
7.1.320.0040.01116.04
7.1.310.0070.01015.80
7.1.300.0080.00515.61
7.1.290.0100.00315.82
7.1.280.0040.00415.53
7.1.270.0120.00015.70
7.1.260.0070.00716.01
7.1.200.0110.01115.55
7.1.100.0040.01117.84
7.1.70.0030.00816.99
7.1.60.0190.00635.15
7.1.50.0140.01134.64
7.1.40.0160.01034.64
7.1.30.0120.01534.59
7.1.20.0160.00934.99
7.1.10.0080.00416.87
7.1.00.0000.01316.83
7.0.200.0000.01216.86
7.0.190.0030.00916.60
7.0.180.0030.01016.34
7.0.170.0090.00316.39
7.0.160.0030.01016.40
7.0.150.0090.00316.30
7.0.140.0040.00816.66
7.0.130.0060.00616.63
7.0.120.0070.00716.54
7.0.110.0090.00316.63
7.0.100.0030.00916.50
7.0.90.0040.00816.51
7.0.80.0060.00916.55
7.0.70.0060.00616.39
7.0.60.0060.00616.43
7.0.50.0030.01016.71
7.0.40.0100.00316.55
7.0.30.0030.01016.58
7.0.20.0060.00616.47
7.0.10.0080.00416.53
7.0.00.0060.00616.63

preferences:
47.92 ms | 401 KiB | 5 Q