3v4l.org

run code in 300+ PHP versions simultaneously
<?php $m = array(); $x = "asdfadsf 'http://valami.lofasz?egy=ketto&harom=negy'blablabla"; preg_match("#\'(https?://[^\']+)\'#", $x, $m); $d = url_encode($m[1]); var_dump($d);

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.00616.75
8.3.50.0100.01718.17
8.3.40.0130.00619.04
8.3.30.0110.00418.82
8.3.20.0000.00920.20
8.3.10.0080.00023.54
8.3.00.0080.00019.51
8.2.180.0120.00618.68
8.2.170.0070.00722.96
8.2.160.0000.01420.43
8.2.150.0040.00424.18
8.2.140.0020.00524.66
8.2.130.0080.00417.50
8.2.120.0000.00826.35
8.2.110.0030.00620.35
8.2.100.0120.00017.80
8.2.90.0060.00318.09
8.2.80.0040.00417.97
8.2.70.0030.00617.75
8.2.60.0080.00017.91
8.2.50.0030.00518.07
8.2.40.0050.00319.34
8.2.30.0030.00520.54
8.2.20.0030.00517.82
8.2.10.0040.00418.06
8.2.00.0040.00418.00
8.1.280.0110.00425.92
8.1.270.0040.00422.12
8.1.260.0060.00328.09
8.1.250.0040.00428.09
8.1.240.0040.00422.19
8.1.230.0060.00620.92
8.1.220.0030.00517.79
8.1.210.0050.00318.77
8.1.200.0000.00917.38
8.1.190.0000.00817.48
8.1.180.0030.00618.10
8.1.170.0000.00818.60
8.1.160.0050.00221.90
8.1.150.0040.00418.89
8.1.140.0040.00419.45
8.1.130.0030.00317.68
8.1.120.0050.00317.59
8.1.110.0040.00417.59
8.1.100.0040.00417.48
8.1.90.0050.00317.54
8.1.80.0040.00417.45
8.1.70.0070.00017.59
8.1.60.0080.00017.62
8.1.50.0060.00317.68
8.1.40.0040.00417.68
8.1.30.0080.00017.86
8.1.20.0040.00417.72
8.1.10.0000.00817.59
8.1.00.0070.00317.66
8.0.300.0030.00620.09
8.0.290.0080.00016.88
8.0.280.0030.00318.42
8.0.270.0040.00417.23
8.0.260.0000.00617.29
8.0.250.0000.00717.14
8.0.240.0030.00317.15
8.0.230.0000.00717.08
8.0.220.0040.00417.06
8.0.210.0000.00717.07
8.0.200.0040.00717.13
8.0.190.0040.00417.10
8.0.180.0050.00316.96
8.0.170.0030.00617.06
8.0.160.0030.00417.11
8.0.150.0080.00017.00
8.0.140.0060.00316.87
8.0.130.0030.00313.52
8.0.120.0040.00416.95
8.0.110.0070.00017.08
8.0.100.0040.00417.08
8.0.90.0000.00716.96
8.0.80.0100.00717.11
8.0.70.0030.00517.07
8.0.60.0000.00917.04
8.0.50.0000.00717.02
8.0.30.0130.00417.15
8.0.20.0140.00517.46
8.0.10.0040.00417.17
8.0.00.0080.01016.92
7.4.330.0060.00015.08
7.4.320.0030.00316.66
7.4.300.0000.00616.86
7.4.290.0000.00716.62
7.4.280.0000.00816.83
7.4.270.0040.00416.74
7.4.260.0040.00416.75
7.4.250.0030.00616.59
7.4.240.0020.00616.81
7.4.230.0040.00416.72
7.4.220.0160.01016.85
7.4.210.0030.01316.84
7.4.200.0000.00716.83
7.4.160.0120.00316.75
7.4.150.0140.00317.40
7.4.140.0140.00717.86
7.4.130.0130.00716.57
7.4.120.0110.00616.77
7.4.110.0110.01516.71
7.4.100.0100.01316.79
7.4.90.0070.01616.61
7.4.80.0030.01319.39
7.4.70.0180.00016.80
7.4.60.0090.00616.64
7.4.50.0030.00616.91
7.4.40.0040.01416.77
7.4.30.0100.01016.59
7.4.00.0030.01015.02
7.3.330.0000.00613.26
7.3.320.0050.00013.26
7.3.310.0000.00716.23
7.3.300.0000.00716.28
7.3.290.0000.00716.42
7.3.280.0110.00916.40
7.3.270.0150.00317.40
7.3.260.0160.00016.62
7.3.240.0050.01316.53
7.3.230.0120.00616.67
7.3.210.0070.01116.44
7.3.200.0080.00816.74
7.3.190.0030.01316.70
7.3.180.0090.00716.41
7.3.170.0160.00716.59
7.3.160.0090.00616.48
7.2.330.0090.00916.60
7.2.320.0060.01016.70
7.2.310.0070.01016.63
7.2.300.0030.01716.62
7.2.290.0160.00316.53
7.2.60.0100.00316.95
7.2.00.0060.01219.47
7.1.200.0060.00915.83
7.1.100.0030.00718.34
7.1.70.0000.00817.20
7.1.60.0110.01419.48
7.1.50.0140.00717.10
7.1.00.0100.07022.41
7.0.200.0070.00315.05
7.0.60.0030.07719.93
7.0.50.0000.04317.83
7.0.40.0000.05720.30
7.0.30.0500.06320.15
7.0.20.0300.08020.13
7.0.10.0030.04320.13
7.0.00.0130.08720.18
5.6.210.0130.08020.72
5.6.200.0070.04018.11
5.6.190.0030.04720.35
5.6.180.0370.07720.44
5.6.170.0270.04720.51
5.6.160.0030.05320.54
5.6.150.0030.05718.20
5.6.140.0100.04318.18
5.6.130.0000.08318.21
5.6.120.0130.07321.13
5.6.110.0000.05321.00
5.6.100.0000.09021.10
5.6.90.0070.08321.09
5.6.80.0170.06320.52
5.5.350.2870.04720.45
5.5.340.0000.04317.88
5.5.330.0100.03320.25
5.5.320.0400.05720.18
5.5.310.0170.04720.28
5.5.300.0130.05017.96
5.5.290.0070.06318.01
5.5.280.0070.03720.97
5.5.270.0000.06320.75
5.5.260.0100.06020.86
5.5.250.0100.08320.44
5.5.240.0130.07020.24

preferences:
70.2 ms | 400 KiB | 5 Q