3v4l.org

run code in 300+ PHP versions simultaneously
<?php $_content = '<a href="https://fbcdn-sphotos-g-a.akamaihd.net/hphotos-ak-xpa1/v/t1.0-9/p100x100/10394047_10202106066684824_80590983553430220_n.jpg?oh=fcccf17086a3593d926a100c9a82f898&amp;oe=546AACC9&amp;__gda__=1416199983_da92aa7319b2636ad2887652e2f9a10e">https://fbcdn-sphotos-g-a.akamaihd.net/hphotos-ak-xpa1/v/t1.0-9/p100x100/10394047_10202106066684824_80590983553430220_n.jpg?oh=fcccf17086a3593d926a100c9a82f898&amp;oe=546AACC9&amp;__gda__=1416199983_da92aa7319b2636ad2887652e2f9a10e</a>'; $_fbcdn_imagelink_pattern = '#<a href=\"https://fbcdn([^\?\'"]*?)(.jpg|.gif|.png)\?([^\'"]*?)[^>]*>([^<]*?)</a>#i'; function fbcdn_link2img( $matches ) { $ret = ""; if(!empty($matches)) { $ret = "<img src=\"".html_entity_decode(end($matches))."\">"; } return $ret; } $_content = preg_replace_callback($_fbcdn_imagelink_pattern, "fbcdn_link2img", $_content); echo $_content;

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.0110.00416.75
8.3.50.0100.00822.80
8.3.40.0150.00618.87
8.3.30.0100.01018.96
8.3.20.0000.00720.17
8.3.10.0030.00623.70
8.3.00.0040.00419.38
8.2.180.0080.01516.63
8.2.170.0070.00722.96
8.2.160.0070.00720.44
8.2.150.0080.00024.18
8.2.140.0030.00524.66
8.2.130.0080.00026.16
8.2.120.0080.00021.04
8.2.110.0060.00322.13
8.2.100.0000.01218.03
8.2.90.0060.00319.22
8.2.80.0000.00817.97
8.2.70.0030.00617.63
8.2.60.0000.00918.04
8.2.50.0090.00018.07
8.2.40.0050.00318.22
8.2.30.0000.00718.05
8.2.20.0000.00817.91
8.2.10.0040.00418.16
8.2.00.0070.00017.91
8.1.280.0090.00625.92
8.1.270.0090.00023.77
8.1.260.0030.00626.35
8.1.250.0040.00428.09
8.1.240.0060.00323.88
8.1.230.0060.00619.12
8.1.220.0040.00417.74
8.1.210.0050.00318.77
8.1.200.0060.00317.47
8.1.190.0080.00017.35
8.1.180.0000.00818.10
8.1.170.0030.00518.75
8.1.160.0040.00422.16
8.1.150.0000.00718.85
8.1.140.0000.00717.68
8.1.130.0000.00817.77
8.1.120.0040.00417.59
8.1.110.0050.00317.59
8.1.100.0000.00717.52
8.1.90.0000.00717.61
8.1.80.0000.00717.63
8.1.70.0000.00817.58
8.1.60.0000.00917.79
8.1.50.0040.00417.74
8.1.40.0000.00817.58
8.1.30.0000.00817.71
8.1.20.0090.00017.82
8.1.10.0060.00317.66
8.1.00.0050.00317.50
8.0.300.0070.00018.77
8.0.290.0080.00017.00
8.0.280.0000.00718.39
8.0.270.0040.00417.34
8.0.260.0000.00717.29
8.0.250.0070.00017.16
8.0.240.0050.00317.13
8.0.230.0030.00517.05
8.0.220.0000.00816.96
8.0.210.0030.00317.03
8.0.200.0000.00817.09
8.0.190.0000.00717.07
8.0.180.0040.00417.12
8.0.170.0070.00016.97
8.0.160.0000.00717.04
8.0.150.0040.00416.95
8.0.140.0040.00417.07
8.0.130.0030.00613.41
8.0.120.0030.00617.02
8.0.110.0040.00416.95
8.0.100.0000.00716.92
8.0.90.0070.00017.05
8.0.80.0040.01116.93
8.0.70.0030.00617.04
8.0.60.0040.00417.09
8.0.50.0040.00416.87
8.0.30.0130.01017.28
8.0.20.0110.00717.40
8.0.10.0040.00417.05
8.0.00.0110.00916.88
7.4.330.0050.00015.17
7.4.320.0030.00616.81
7.4.300.0000.00716.63
7.4.290.0030.00516.69
7.4.280.0070.00016.82
7.4.270.0070.00016.82
7.4.260.0000.00716.74
7.4.250.0040.00416.59
7.4.240.0020.00616.73
7.4.230.0030.00316.61
7.4.220.0070.01016.63
7.4.210.0100.00616.86
7.4.200.0050.00216.85
7.4.160.0120.00316.53
7.4.150.0140.01017.40
7.4.140.0090.01317.86
7.4.130.0070.01016.63
7.4.120.0060.01116.74
7.4.110.0070.01116.52
7.4.100.0030.01416.81
7.4.90.0110.00616.79
7.4.80.0060.01219.39
7.4.70.0100.01116.70
7.4.60.0100.00716.70
7.4.50.0040.00416.63
7.4.40.0080.00816.80
7.4.30.0070.01416.71
7.4.00.0060.00914.98
7.3.330.0030.00313.23
7.3.320.0000.00513.47
7.3.310.0030.00316.31
7.3.300.0040.00416.30
7.3.290.0120.00316.37
7.3.280.0100.00616.45
7.3.270.0110.00717.40
7.3.260.0110.00716.55
7.3.250.0140.00616.58
7.3.240.0090.01216.59
7.3.230.0060.01016.41
7.3.210.0120.00616.41
7.3.200.0130.00919.39
7.3.190.0080.01416.80
7.3.180.0100.00716.75
7.3.170.0100.01016.44
7.3.160.0060.00916.36
7.2.330.0030.01616.90
7.2.320.0180.00016.75
7.2.310.0090.00916.86
7.2.300.0100.00716.73
7.2.290.0080.01216.87
7.2.00.0040.00819.75
7.1.100.0030.00617.93
7.1.70.0030.00817.33
7.1.60.0090.01519.40
7.1.50.0040.00717.19
7.1.00.0000.07722.48
7.0.200.0000.00816.88
7.0.140.0030.07321.95
7.0.100.0100.07719.96
7.0.90.0200.07319.87
7.0.80.0130.07019.99
7.0.70.0070.08019.89
7.0.60.0130.04320.00
7.0.50.0070.08720.13
7.0.40.0070.08720.00
7.0.30.0030.04720.01
7.0.20.0130.07720.03
7.0.10.0030.06720.13
7.0.00.0100.07720.09
5.6.280.0030.07320.78
5.6.250.0230.06320.55
5.6.240.0100.07320.50
5.6.230.0130.07720.67
5.6.220.0000.08720.56
5.6.210.0170.07320.54
5.6.200.0130.05021.13
5.6.190.0170.04321.13
5.6.180.0030.08321.00
5.6.170.0030.04720.94
5.6.160.0030.04321.05
5.6.150.0130.08020.91
5.6.140.0030.08020.98
5.6.130.0070.05021.03
5.6.120.0100.08021.07
5.6.110.0030.07721.09
5.6.100.0100.08021.05
5.6.90.0100.07720.89
5.6.80.0130.07320.35
5.6.70.0170.06720.27
5.6.60.0100.07020.39
5.6.50.0070.07720.39
5.6.40.0100.03320.44
5.6.30.0000.04320.39
5.6.20.0000.04320.26
5.6.10.0100.04020.32
5.6.00.0100.07320.40
5.5.380.0070.07020.36
5.5.370.0070.07720.41
5.5.360.0100.05320.46
5.5.350.0100.07720.41
5.5.340.0130.07320.73
5.5.330.0130.07020.80
5.5.320.0070.08320.73
5.5.310.0000.07320.87
5.5.300.0070.08320.88
5.5.290.0100.07020.73
5.5.280.0130.08720.83
5.5.270.0070.08720.88
5.5.260.0100.08320.74
5.5.250.0130.07720.64
5.5.240.0130.07320.08
5.5.230.0230.06720.19
5.5.220.0070.08020.16
5.5.210.0070.07719.98
5.5.200.0100.05720.20
5.5.190.0030.05020.09
5.5.180.0070.03720.07
5.5.160.0070.04320.18
5.5.150.0070.03720.16
5.5.140.0000.04320.18
5.5.130.0070.04020.20
5.5.120.0000.08720.22
5.5.110.0030.08020.22
5.5.100.0100.06320.00
5.5.90.0000.08320.11
5.5.80.0000.06720.05
5.5.70.0070.04020.06
5.5.60.0000.05320.06
5.5.50.0030.04020.01
5.5.40.0100.05319.96
5.5.30.0000.04320.02
5.5.20.0030.04719.98
5.5.10.0130.03720.00
5.5.00.0100.04019.91
5.4.450.0030.07019.28
5.4.440.0100.08319.51
5.4.430.0070.08019.37
5.4.420.0070.08019.54
5.4.410.0130.07319.24
5.4.400.0100.07318.93
5.4.390.0100.07718.89
5.4.380.0170.06318.95
5.4.370.0030.07018.95
5.4.360.0070.06019.22
5.4.350.0000.06019.09
5.4.340.0030.07019.25
5.4.320.0000.04319.25
5.4.310.0070.03019.16
5.4.300.0100.03019.13
5.4.290.0100.03018.87
5.4.280.0130.02719.16
5.4.270.0070.07319.03
5.4.260.0030.04019.04
5.4.250.0100.05719.14
5.4.240.0200.05718.91
5.4.230.0070.03719.09
5.4.220.0000.06719.04
5.4.210.0070.03019.20
5.4.200.0100.03319.03
5.4.190.0000.06319.14
5.4.180.0030.03719.14
5.4.170.0070.03019.17
5.4.160.0070.03319.03
5.4.150.0030.03719.07
5.4.140.0070.05016.36
5.4.130.0000.03716.39
5.4.120.0070.03016.32
5.4.110.0030.04016.36
5.4.100.0030.03316.36
5.4.90.0070.03716.35
5.4.80.0000.04016.41
5.4.70.0030.03716.33
5.4.60.0000.03716.45
5.4.50.0070.07016.40
5.4.40.0070.03316.34
5.4.30.0070.03316.46
5.4.20.0100.03016.29
5.4.10.0000.04016.36
5.4.00.0030.04015.94
5.3.290.0030.03714.73
5.3.280.0070.03714.59
5.3.270.0070.03314.56
5.3.260.0000.05014.74
5.3.250.0030.03714.66
5.3.240.0100.04314.58
5.3.230.0030.07314.57
5.3.220.0030.04014.69
5.3.210.0030.07014.69
5.3.200.0100.03314.67
5.3.190.0000.04014.50
5.3.180.0000.04014.68
5.3.170.0030.06314.70
5.3.160.0030.04314.57
5.3.150.0100.03314.57
5.3.140.0130.02714.54
5.3.130.0070.03314.54
5.3.120.0000.03714.53
5.3.110.0030.04014.47
5.3.100.0070.04014.10
5.3.90.0100.04714.11
5.3.80.0030.04013.93
5.3.70.0000.04014.09
5.3.60.0070.03313.94
5.3.50.0100.03014.00
5.3.40.0000.04013.94
5.3.30.0030.07014.03
5.3.20.0000.07713.76
5.3.10.0070.06313.78
5.3.00.0070.07313.76
5.2.170.0100.03311.15
5.2.160.0030.04311.15
5.2.150.0030.03011.18
5.2.140.0030.04711.20
5.2.130.0030.06011.13
5.2.120.0070.06011.02
5.2.110.0070.05711.13
5.2.100.0100.05710.96
5.2.90.0030.05711.17
5.2.80.0070.06010.96
5.2.70.0030.03710.95
5.2.60.0030.06311.06
5.2.50.0000.04010.91
5.2.40.0030.06311.13
5.2.30.0130.05311.09
5.2.20.0070.03710.92
5.2.10.0100.05311.00
5.2.00.0000.05010.77
5.1.60.0070.0339.83
5.1.50.0030.0579.99
5.1.40.0030.0579.96
5.1.30.0070.05710.48
5.1.20.0000.05710.49
5.1.10.0030.05310.18
5.1.00.0000.06010.08
5.0.50.0000.0508.39
5.0.40.0100.0208.29
5.0.30.0000.0708.07
5.0.20.0000.0378.05
5.0.10.0000.0478.01
5.0.00.0000.0638.00
4.4.90.0000.0406.52
4.4.80.0070.0236.52
4.4.70.0030.0236.52
4.4.60.0030.0336.52
4.4.50.0030.0336.52
4.4.40.0030.0506.52
4.4.30.0030.0236.52
4.4.20.0000.0406.52
4.4.10.0000.0376.52
4.4.00.0070.0476.52
4.3.110.0000.0206.52
4.3.100.0000.0376.52
4.3.90.0000.0376.52
4.3.80.0070.0476.52
4.3.70.0070.0276.52
4.3.60.0000.0376.52
4.3.50.0000.0376.52
4.3.40.0030.0336.52
4.3.30.0030.0336.52
4.3.20.0030.0336.52
4.3.10.0000.0336.52
4.3.00.0000.0336.52

preferences:
55.99 ms | 401 KiB | 5 Q