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.40.0120.00318.83
8.3.30.0040.01118.84
8.3.20.0070.00020.33
8.3.10.0000.00823.45
8.3.00.0040.00421.96
8.2.170.0130.00922.96
8.2.160.0140.00018.99
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0000.00821.24
8.2.120.0070.00026.35
8.2.110.0090.00020.52
8.2.100.0060.00617.84
8.2.90.0000.00817.50
8.2.80.0040.00818.78
8.2.70.0050.00317.80
8.2.60.0000.00918.16
8.2.50.0040.00419.27
8.2.40.0080.00021.07
8.2.30.0000.00920.99
8.2.20.0070.00018.01
8.2.10.0030.00617.89
8.2.00.0070.00017.88
8.1.270.0050.00322.07
8.1.260.0000.00826.35
8.1.250.0070.00028.09
8.1.240.0030.00723.98
8.1.230.0100.00319.42
8.1.220.0040.00417.74
8.1.210.0080.00018.77
8.1.200.0050.00517.48
8.1.190.0090.00017.35
8.1.180.0050.00318.10
8.1.170.0040.00420.56
8.1.160.0050.00219.03
8.1.150.0040.00420.69
8.1.140.0050.00319.45
8.1.130.0030.00618.79
8.1.120.0000.00717.56
8.1.110.0000.00717.50
8.1.100.0030.00517.55
8.1.90.0050.00317.44
8.1.80.0040.00417.43
8.1.70.0070.00017.57
8.1.60.0040.00417.54
8.1.50.0000.00817.61
8.1.40.0000.00817.57
8.1.30.0040.00417.78
8.1.20.0040.00417.57
8.1.10.0060.00317.66
8.1.00.0040.00417.46
8.0.300.0000.00818.77
8.0.290.0000.00816.75
8.0.280.0070.00018.30
8.0.270.0070.00017.12
8.0.260.0070.00016.89
8.0.250.0030.00317.09
8.0.240.0030.00317.09
8.0.230.0030.00317.01
8.0.220.0000.00716.88
8.0.210.0000.00716.87
8.0.200.0030.00317.08
8.0.190.0060.00317.09
8.0.180.0040.00416.95
8.0.170.0000.00716.88
8.0.160.0000.00716.90
8.0.150.0000.00716.89
8.0.140.0040.00416.92
8.0.130.0030.00313.38
8.0.120.0000.00716.85
8.0.110.0030.00316.83
8.0.100.0000.00716.83
8.0.90.0080.00016.98
8.0.80.0120.01317.00
8.0.70.0000.00717.00
8.0.60.0040.00417.00
8.0.50.0000.00716.93
8.0.30.0120.00617.21
8.0.20.0100.01017.40
8.0.10.0040.00416.90
8.0.00.0110.00716.76
7.4.330.0050.00015.55
7.4.320.0030.00316.79
7.4.300.0030.00316.63
7.4.290.0080.00416.78
7.4.280.0000.00816.57
7.4.270.0030.00316.73
7.4.260.0030.00316.76
7.4.250.0080.00016.69
7.4.240.0000.00716.52
7.4.230.0030.00316.44
7.4.220.0110.00716.63
7.4.210.0110.00716.67
7.4.200.0030.00316.54
7.4.160.0070.00916.83
7.4.150.0140.00717.40
7.4.140.0140.00617.86
7.4.130.0060.01416.60
7.4.120.0160.00716.59
7.4.110.0160.00616.52
7.4.100.0200.01016.64
7.4.90.0100.00716.58
7.4.80.0090.00919.39
7.4.70.0110.00516.68
7.4.60.0080.00816.51
7.4.50.0100.00316.71
7.4.40.0100.01016.47
7.4.30.0110.00916.52
7.4.00.0040.00814.86
7.3.330.0050.00013.21
7.3.320.0000.00513.16
7.3.310.0040.00416.26
7.3.300.0030.00316.29
7.3.290.0070.00016.27
7.3.280.0070.01016.26
7.3.270.0120.00617.40
7.3.260.0080.00916.65
7.3.250.0100.00916.42
7.3.240.0210.00916.63
7.3.230.0040.01316.27
7.3.210.0120.00916.31
7.3.200.0170.00016.32
7.3.190.0080.00816.70
7.3.180.0100.01016.34
7.3.170.0070.01016.54
7.3.160.0080.00816.34
7.3.00.0100.00316.61
7.2.330.0100.00916.51
7.2.320.0120.01216.59
7.2.310.0100.00616.53
7.2.300.0140.00316.56
7.2.290.0110.01416.68
7.2.130.0030.01216.59
7.2.120.0130.00016.65
7.2.110.0080.00816.87
7.2.100.0000.01416.93
7.2.90.0080.00616.94
7.2.80.0130.01016.81
7.2.70.0040.01116.90
7.2.60.0060.01016.64
7.2.50.0090.00916.54
7.2.40.0060.00916.88
7.2.30.0090.00617.07
7.2.20.0100.00716.85
7.2.10.0120.00616.90
7.2.00.0110.00518.04
7.1.250.0090.00315.93
7.1.240.0130.00015.93
7.1.230.0150.00715.78
7.1.220.0090.00415.61
7.1.210.0090.00315.95
7.1.200.0100.00615.78
7.1.190.0080.00315.91
7.1.180.0080.00815.86
7.1.170.0080.00315.84
7.1.160.0130.00315.97
7.1.150.0150.00015.93
7.1.140.0110.00015.94
7.1.130.0030.01415.91
7.1.120.0000.00915.87
7.1.110.0090.00615.97
7.1.100.0050.00717.00
7.1.90.0050.01015.96
7.1.80.0040.01115.92
7.1.70.0100.00416.22
7.1.60.0070.01525.28
7.1.50.0150.00925.29
7.1.40.0180.00625.05
7.1.30.0170.00324.98
7.1.20.0110.00825.05
7.1.10.0090.00616.10
7.1.00.0050.01016.43
7.0.330.0130.00315.17
7.0.320.0050.00515.45
7.0.310.0060.00615.44
7.0.300.0030.00915.29
7.0.290.0000.01315.26
7.0.280.0130.00315.66
7.0.270.0030.00615.54
7.0.260.0000.00915.72
7.0.250.0120.00415.36
7.0.240.0110.00315.58
7.0.230.0090.00615.14
7.0.220.0070.01015.59
7.0.210.0000.01015.51
7.0.200.0030.00816.06
7.0.190.0030.01116.28
7.0.180.0080.00715.88
7.0.170.0070.00915.80
7.0.160.0040.01015.92
7.0.150.0060.00615.75
7.0.140.0060.00615.94
7.0.130.0070.00715.97
7.0.120.0080.00416.00
7.0.110.0020.01315.98
7.0.100.0020.01215.95
7.0.90.0120.00315.94
7.0.80.0060.01115.89
7.0.70.0050.01016.04
7.0.60.0050.01015.76
7.0.50.0030.00815.89
7.0.40.0040.00815.13
7.0.30.0110.00415.22
7.0.20.0030.01014.83
7.0.10.0040.01215.13
7.0.00.0050.00915.07
5.6.380.0040.01114.19

preferences:
44.39 ms | 400 KiB | 5 Q