3v4l.org

run code in 300+ PHP versions simultaneously
<?php $matches = array(); $pattern = '/http\:\/\/www\.kinguin\.dev\/index\.php\/glacier77\/cms_wysiwyg\/directive\/___directive\/([a-zA-Z0-9,_-]+)\/key\/[^\/]+\//'; $content = '<p><span><img title="bbb" src="http://www.kinguin.dev/index.php/glacier77/cms_wysiwyg/directive/___directive/e3ttZWRpYSB1cmw9Ind5c2l3eWcvYm94LXRoZS1lbGRlci1zY3JvbGxzLXYtc2t5cmltLWRyYWdvbmJvcm4tcGNlLmpwZyJ9fQ,,/key/6cf30d5a419b39ae8e39897ccb6c5300/" alt="aaa" />Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris magna ante, dictum et ante gravida, rutrum suscipit massa. Etiam ac metus quis dolor hendrerit gravida. Donec quis lorem non nulla malesuada tincidunt. Nunc malesuada erat velit, eget aliquet arcu laoreet quis.</span></p> <p><iframe src="http://www.youtube.com/embed/c5xL9Unxphs" frameborder="0" width="520" height="315"></iframe></p>"http://www.kinguin.dev/index.php/glacier77/cms_wysiwyg/directive/___directive/e3ttZWRpYSB1cmw9Ind5c2l3eWcvYm94LXRoZS1lbGRlci1zY3JvbGxzLXYtc2t5cmltLWRyYWdvbmJvcm4tcGNlLmpwZyJ9f---/key/6cf30d5a419b39ae8e39897ccb6c53111/" '; preg_match_all($pattern, $content, $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.0160.00016.88
8.3.50.0130.00818.20
8.3.40.0090.00618.68
8.3.30.0040.01118.79
8.3.20.0090.00018.80
8.3.10.0060.00318.85
8.3.00.0060.00319.26
8.2.180.0030.01716.50
8.2.170.0040.01122.96
8.2.160.0070.01018.83
8.2.150.0060.00324.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0080.00021.20
8.2.110.0100.00020.57
8.2.100.0080.00417.91
8.2.90.0040.00419.23
8.2.80.0000.00817.97
8.2.70.0080.00017.63
8.2.60.0090.00017.68
8.2.50.0000.00818.07
8.2.40.0050.00318.22
8.2.30.0000.00821.41
8.2.20.0030.00717.76
8.2.10.0040.00417.83
8.2.00.0050.00217.77
8.1.280.0170.00325.92
8.1.270.0040.00423.99
8.1.260.0060.00326.35
8.1.250.0070.00028.09
8.1.240.0030.00622.42
8.1.230.0040.00720.85
8.1.220.0040.00418.77
8.1.210.0000.00818.89
8.1.200.0030.00717.35
8.1.190.0030.00517.40
8.1.180.0040.00418.10
8.1.170.0050.00318.84
8.1.160.0060.00318.86
8.1.150.0070.00018.72
8.1.140.0080.00017.50
8.1.130.0000.00817.49
8.1.120.0040.00417.54
8.1.110.0040.00417.52
8.1.100.0050.00217.57
8.1.90.0040.00417.54
8.1.80.0040.00417.61
8.1.70.0000.00717.52
8.1.60.0030.00617.66
8.1.50.0000.00717.58
8.1.40.0060.00317.52
8.1.30.0000.00817.72
8.1.20.0000.00817.73
8.1.10.0000.00817.70
8.1.00.0060.00617.45
8.0.300.0070.00019.88
8.0.290.0030.00617.18
8.0.280.0030.00318.39
8.0.270.0000.00716.82
8.0.260.0030.00316.78
8.0.250.0030.00617.00
8.0.240.0000.00717.05
8.0.230.0040.00416.92
8.0.220.0000.00716.93
8.0.210.0040.00416.95
8.0.200.0000.00617.01
8.0.190.0030.00616.91
8.0.180.0060.00716.95
8.0.170.0000.00916.91
8.0.160.0000.00717.02
8.0.150.0050.00316.90
8.0.140.0040.00716.88
8.0.130.0000.00613.44
8.0.120.0070.00016.92
8.0.110.0040.00416.95
8.0.100.0040.00416.93
8.0.90.0040.00316.84
8.0.80.0110.00616.91
8.0.70.0000.00716.99
8.0.60.0060.00316.97
8.0.50.0000.00816.96
8.0.30.0140.00417.24
8.0.20.0090.01117.31
8.0.10.0080.00017.14
8.0.00.0090.01416.80
7.4.330.0000.00513.05
7.4.320.0000.00616.59
7.4.300.0030.00316.63
7.4.290.0060.00316.67
7.4.280.0030.00716.62
7.4.270.0000.00716.66
7.4.260.0030.00313.48
7.4.250.0040.00416.64
7.4.240.0050.00216.64
7.4.230.0050.00516.86
7.4.220.0030.01516.63
7.4.210.0110.00816.55
7.4.200.0080.00016.49
7.4.190.0040.00416.70
7.4.160.0080.00816.52
7.4.150.0150.00316.70
7.4.140.0090.00916.60
7.4.130.0000.01716.54
7.4.120.0120.00616.82
7.4.110.0110.00816.55
7.4.100.0110.01116.60
7.4.90.0100.00916.73
7.4.80.0100.01419.39
7.4.70.0180.02716.58
7.4.60.0100.00716.73
7.4.50.0030.00616.43
7.4.40.0030.01316.56
7.4.30.0130.00316.55
7.4.00.0140.00315.02
7.3.330.0000.00713.10
7.3.320.0030.00313.04
7.3.310.0000.00716.25
7.3.300.0060.00016.27
7.3.290.0080.01316.29
7.3.280.0130.00816.30
7.3.270.0060.01116.32
7.3.260.0090.00916.76
7.3.250.0120.00716.51
7.3.240.0070.01016.49
7.3.230.0110.00716.33
7.3.210.0090.00916.34
7.3.200.0100.00616.39
7.3.190.0120.00516.57
7.3.180.0080.00816.63
7.3.170.0080.00816.34
7.3.160.0090.00916.75
7.3.120.0140.00514.80
7.3.110.0110.00714.82
7.3.100.0040.01114.97
7.3.90.0090.00614.86
7.3.80.0000.01415.14
7.3.70.0120.00315.02
7.3.60.0100.00314.93
7.3.50.0030.01414.91
7.3.40.0040.00714.89
7.3.30.0040.00714.89
7.3.20.0040.01116.74
7.3.10.0120.00016.80
7.3.00.0060.00816.75
7.2.330.0090.00916.59
7.2.320.0050.01516.63
7.2.310.0120.00916.46
7.2.300.0070.01116.80
7.2.290.0080.00916.64
7.2.250.0100.01015.07
7.2.240.0100.01015.02
7.2.230.0080.00814.80
7.2.220.0060.00615.20
7.2.210.0000.01814.81
7.2.200.0080.00814.78
7.2.190.0000.00914.96
7.2.180.0100.00315.06
7.2.170.0060.01015.02
7.2.00.0040.01119.44
7.1.330.0070.01016.05
7.1.320.0080.00315.82
7.1.310.0100.00716.00
7.1.300.0040.00715.69
7.1.290.0040.00715.85
7.1.280.0060.00615.66
7.1.270.0000.00915.88
7.1.260.0060.00915.70
7.1.200.0030.00815.79
7.1.100.0030.01018.22
7.1.70.0000.00817.15
7.1.60.0040.01119.30
7.1.50.0030.01817.08
7.1.00.0100.05722.56
7.0.200.0050.00316.64
7.0.140.0170.06322.08
7.0.120.0030.03022.25
7.0.110.0200.07319.87
7.0.100.0130.07320.00
7.0.90.0170.07320.05
7.0.80.0030.08319.92
7.0.70.0030.08319.79
7.0.60.0100.06019.82
7.0.50.0130.08020.38
7.0.40.0170.06720.13
7.0.30.0070.08320.06
7.0.20.0030.05320.27
7.0.10.0130.07320.24
7.0.00.0100.08320.24
5.6.280.0000.07320.98
5.6.260.0100.07320.56
5.6.250.0070.08320.68
5.6.240.0100.08720.48
5.6.230.0070.06320.64
5.6.220.0130.07320.61
5.6.210.0100.07320.52
5.6.200.0130.04721.02
5.6.190.0170.07320.98
5.6.180.0100.07020.92
5.6.170.0170.07321.18
5.6.160.0130.04321.04
5.6.150.0030.08720.92
5.6.140.0000.08720.98
5.6.130.0130.07321.02
5.6.120.0100.06321.18
5.6.110.0130.08021.22
5.6.100.0170.06321.07
5.6.90.0070.06721.02
5.6.80.0170.07020.47
5.6.70.0130.04020.55
5.6.60.0000.08320.32
5.6.50.0070.07020.34
5.6.40.0270.05020.43
5.6.30.0000.08020.29
5.6.20.0230.06020.33
5.6.10.0100.07320.48
5.6.00.0100.08320.28
5.5.380.0170.06320.51
5.5.370.0070.07320.19
5.5.360.0070.08320.46
5.5.350.0030.08720.43
5.5.340.0100.07320.98
5.5.330.0030.07020.89
5.5.320.0130.07320.98
5.5.310.0100.07721.01
5.5.300.0070.08020.80
5.5.290.0130.08320.97
5.5.280.0070.08020.84
5.5.270.0030.09320.74
5.5.260.0070.08320.69
5.5.250.0130.05320.75
5.5.240.0070.08020.42
5.5.230.0100.07020.12
5.5.220.0130.07720.18
5.5.210.0100.07720.18
5.5.200.0070.07720.21
5.5.190.0070.08320.15
5.5.180.0130.07020.19
5.5.160.0100.07020.04
5.5.150.0330.03020.31
5.5.140.0170.06720.04
5.5.130.0100.07020.12
5.5.120.0070.07720.38
5.5.110.0170.06020.24
5.5.100.0070.06720.26
5.5.90.0070.06320.01
5.5.80.0200.03320.27
5.5.70.0030.06720.13
5.5.60.0070.04320.09
5.5.50.0100.08020.03
5.5.40.0070.06720.23
5.5.30.0070.07720.20
5.5.20.0000.05020.14
5.5.10.0170.06720.03
5.5.00.0070.03320.04
5.4.450.0100.07319.34
5.4.440.0070.08319.33
5.4.430.0070.06319.43
5.4.420.0100.07719.35
5.4.410.0130.07019.18
5.4.400.0130.06018.93
5.4.390.0070.08318.95
5.4.380.0170.04019.16
5.4.370.0000.08719.00
5.4.360.0100.06719.12
5.4.350.0130.05319.00
5.4.340.0100.06318.98
5.4.320.0000.08318.99
5.4.310.0070.07719.27
5.4.300.0030.07719.07
5.4.290.0200.05718.92
5.4.280.0070.08019.12
5.4.270.0070.06719.19
5.4.260.0030.07719.02
5.4.250.0070.06319.00
5.4.240.0100.07718.95
5.4.230.0130.07018.98
5.4.220.0070.06719.00
5.4.210.0170.08019.17
5.4.200.0170.05019.00
5.4.190.0100.07719.07
5.4.180.0030.08019.15
5.4.170.0070.07718.91
5.4.160.0070.03319.08
5.4.150.0070.03718.90
5.4.140.0170.06316.20
5.4.130.0100.06316.13
5.4.120.0070.03316.43
5.4.110.0100.07016.37
5.4.100.0070.05716.37
5.4.90.0030.05016.18
5.4.80.0030.04016.53
5.4.70.0030.04016.51
5.4.60.0070.07316.37
5.4.50.0070.06716.46
5.4.40.0100.07716.41
5.4.30.0100.06016.25
5.4.20.0070.06316.34
5.4.10.0030.07316.20
5.4.00.0000.07315.62
5.3.290.0100.07314.57
5.3.280.0100.06014.44
5.3.270.0070.07314.54
5.3.260.0030.03314.63
5.3.250.0070.03714.39
5.3.240.0030.07714.39
5.3.230.0100.07714.50
5.3.220.0070.07714.46
5.3.210.0000.04014.36
5.3.200.0130.07014.41
5.3.190.0070.07314.35
5.3.180.0070.07314.42
5.3.170.0100.06714.35
5.3.160.0000.04014.64
5.3.150.0030.07714.58
5.3.140.0000.07714.38
5.3.130.0070.07714.62
5.3.120.0000.08014.39
5.3.110.0070.07014.45
5.3.100.0070.07713.94
5.3.90.0100.06714.08
5.3.80.0100.07013.88
5.3.70.0030.04314.09
5.3.60.0130.06014.02
5.3.50.0070.07713.88
5.3.40.0100.07014.00
5.3.30.0000.06713.83
5.3.20.0030.04013.48
5.3.10.0100.06713.57
5.3.00.0100.06013.71
5.2.170.0070.05711.89
5.2.160.0070.06011.89
5.2.150.0100.05711.89
5.2.140.0000.06711.89
5.2.130.0000.07011.89
5.2.120.0030.05311.89
5.2.110.0030.06011.89
5.2.100.0030.06711.89
5.2.90.0030.03711.89
5.2.80.0100.05711.89
5.2.70.0070.06011.89
5.2.60.0100.06011.89
5.2.50.0030.05711.89
5.2.40.0000.07011.89
5.2.30.0070.03311.89
5.2.20.0070.05311.89
5.2.10.0070.05711.89
5.2.00.0130.05011.89
5.1.60.0030.05011.89
5.1.50.0030.05311.89
5.1.40.0030.05711.89
5.1.30.0170.04711.89
5.1.20.0070.03011.89
5.1.10.0130.02311.89
5.1.00.0100.04711.89
5.0.50.0030.04311.89
5.0.40.0030.04311.89
5.0.30.0070.06311.89
5.0.20.0030.04011.89
5.0.10.0030.04311.89
5.0.00.0030.06011.89
4.4.90.0000.02011.89
4.4.80.0000.03711.89
4.4.70.0000.03711.89
4.4.60.0030.03011.89
4.4.50.0070.03311.89
4.4.40.0000.05311.89
4.4.30.0130.02311.89
4.4.20.0100.02711.89
4.4.10.0030.03311.89
4.4.00.0070.03711.89
4.3.110.0030.03711.89
4.3.100.0070.03011.89
4.3.90.0070.02711.89
4.3.80.0030.05011.89
4.3.70.0030.03311.89
4.3.60.0030.03311.89
4.3.50.0030.03711.89
4.3.40.0000.03711.89
4.3.30.0030.03311.89
4.3.20.0030.03311.89
4.3.10.0000.03711.89
4.3.00.0000.03711.89

preferences:
66.65 ms | 401 KiB | 5 Q