3v4l.org

run code in 300+ PHP versions simultaneously
<?php $value = 'htghfhgtp://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.0090.01216.50
8.3.50.0120.01216.17
8.3.40.0150.00318.96
8.3.30.0070.00718.84
8.3.20.0040.00420.39
8.3.10.0040.00423.44
8.3.00.0000.00722.09
8.2.180.0150.00318.41
8.2.170.0130.00622.96
8.2.160.0170.00019.04
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0040.00421.24
8.2.120.0050.00326.35
8.2.110.0080.00421.19
8.2.100.0110.00017.84
8.2.90.0000.00819.28
8.2.80.0040.00417.97
8.2.70.0030.00717.63
8.2.60.0050.00317.93
8.2.50.0050.00318.10
8.2.40.0000.00720.42
8.2.30.0040.00420.88
8.2.20.0040.00418.07
8.2.10.0030.00518.01
8.2.00.0070.00018.06
8.1.280.0110.00425.92
8.1.270.0040.00422.14
8.1.260.0000.00826.35
8.1.250.0070.00028.09
8.1.240.0050.00521.24
8.1.230.0080.00319.09
8.1.220.0070.00317.74
8.1.210.0060.00318.77
8.1.200.0060.00617.48
8.1.190.0050.00317.35
8.1.180.0080.00018.10
8.1.170.0040.00419.01
8.1.160.0030.00319.09
8.1.150.0070.00020.54
8.1.140.0040.00419.59
8.1.130.0030.00317.44
8.1.120.0000.00717.55
8.1.110.0040.00417.44
8.1.100.0040.00417.53
8.1.90.0070.00017.57
8.1.80.0040.00417.45
8.1.70.0030.00317.52
8.1.60.0030.00617.68
8.1.50.0040.00417.62
8.1.40.0040.00417.50
8.1.30.0030.00617.75
8.1.20.0040.00417.60
8.1.10.0000.00817.55
8.1.00.0050.00317.56
8.0.300.0070.00019.97
8.0.290.0040.00416.75
8.0.280.0000.00718.31
8.0.270.0030.00317.21
8.0.260.0030.00316.84
8.0.250.0000.00716.91
8.0.240.0070.00016.88
8.0.230.0030.00316.94
8.0.220.0030.00516.87
8.0.210.0000.00816.92
8.0.200.0030.00316.96
8.0.190.0000.00816.93
8.0.180.0060.00317.01
8.0.170.0000.00717.02
8.0.160.0050.00316.91
8.0.150.0040.00416.85
8.0.140.0030.00516.88
8.0.130.0030.00313.48
8.0.120.0040.00416.83
8.0.110.0040.00316.83
8.0.100.0050.00316.93
8.0.90.0040.00416.77
8.0.80.0100.01316.91
8.0.70.0050.00316.83
8.0.60.0080.00016.76
8.0.50.0040.00416.78
8.0.30.0130.00617.17
8.0.20.0110.00917.40
8.0.10.0000.00816.88
8.0.00.0070.01116.88
7.4.330.0050.00015.55
7.4.320.0060.00016.74
7.4.300.0060.00016.72
7.4.290.0030.00516.71
7.4.280.0060.00316.48
7.4.270.0000.00816.67
7.4.260.0030.00316.64
7.4.250.0030.00316.61
7.4.240.0000.00716.59
7.4.230.0070.00016.53
7.4.220.0070.01116.64
7.4.210.0080.00716.70
7.4.200.0030.00316.75
7.4.160.0060.01016.55
7.4.150.0130.00417.40
7.4.140.0100.00817.86
7.4.130.0180.00416.55
7.4.120.0110.00916.59
7.4.110.0170.00416.73
7.4.100.0090.00916.53
7.4.90.0100.00716.86
7.4.80.0120.00619.39
7.4.70.0100.00716.43
7.4.60.0030.01216.52
7.4.50.0030.01316.53
7.4.40.0120.00916.68
7.4.30.0100.00616.48
7.4.00.0070.00714.93
7.3.330.0000.00513.15
7.3.320.0000.00513.00
7.3.310.0050.00216.25
7.3.300.0000.00716.32
7.3.290.0070.00016.21
7.3.280.0110.00616.25
7.3.270.0090.00917.40
7.3.260.0100.00716.47
7.3.250.0120.00816.41
7.3.240.0080.00916.47
7.3.230.0060.01216.49
7.3.210.0030.01316.50
7.3.200.0060.00916.25
7.3.190.0070.01016.52
7.3.180.0030.01316.33
7.3.170.0110.00616.36
7.3.160.0210.00016.68
7.3.10.0000.01516.72
7.3.00.0080.00016.41
7.2.330.0100.00716.69
7.2.320.0040.01916.80
7.2.310.0140.00316.68
7.2.300.0070.01016.62
7.2.290.0070.01516.55
7.2.130.0060.00616.80
7.2.120.0060.00316.91
7.2.110.0040.00716.84
7.2.100.0050.00516.67
7.2.90.0030.00617.13
7.2.80.0030.01016.65
7.2.70.0030.01016.98
7.2.60.0080.00616.86
7.2.50.0060.00616.73
7.2.40.0000.01016.82
7.2.30.0070.00416.82
7.2.20.0060.00616.63
7.2.10.0040.00716.94
7.2.00.0050.00818.01
7.1.250.0070.00315.86
7.1.200.0030.00615.91
7.1.100.0030.00918.40
7.1.70.0040.00817.18
7.1.60.0210.00735.32
7.1.50.0100.01634.99
7.1.40.0220.00334.61
7.1.30.0200.00734.70
7.1.20.0140.01434.53
7.1.10.0060.00616.64
7.1.00.0100.00617.04
7.0.200.0080.00516.80
7.0.190.0060.00616.98
7.0.180.0030.00916.30
7.0.170.0000.01316.42
7.0.160.0000.01616.25
7.0.150.0060.00616.27
7.0.140.0060.00616.42
7.0.130.0030.00916.70
7.0.120.0080.00416.57
7.0.110.0050.00816.62
7.0.100.0040.01116.50
7.0.90.0080.00516.52
7.0.80.0070.00716.41
7.0.70.0060.00616.62
7.0.60.0080.00516.11
7.0.50.0030.01216.50
7.0.40.0060.00616.84
7.0.30.0040.01116.71
7.0.20.0040.00816.57
7.0.10.0080.00416.61
7.0.00.0060.00916.65

preferences:
51.41 ms | 401 KiB | 5 Q