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=\"".urldecode(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.00716.63
8.3.50.0090.00823.01
8.3.40.0150.00018.79
8.3.30.0090.01219.14
8.3.20.0070.00020.33
8.3.10.0100.00023.53
8.3.00.0040.00419.13
8.2.180.0130.00616.50
8.2.170.0120.00322.96
8.2.160.0000.01420.57
8.2.150.0040.00424.18
8.2.140.0030.00624.66
8.2.130.0040.00426.16
8.2.120.0040.00421.11
8.2.110.0060.00322.18
8.2.100.0080.00417.91
8.2.90.0060.00319.17
8.2.80.0040.00417.97
8.2.70.0040.00417.63
8.2.60.0070.00318.03
8.2.50.0060.00318.07
8.2.40.0050.00318.22
8.2.30.0060.00318.00
8.2.20.0000.00717.90
8.2.10.0000.00718.11
8.2.00.0040.00417.82
8.1.280.0140.00025.92
8.1.270.0000.00823.83
8.1.260.0070.00026.35
8.1.250.0040.00428.09
8.1.240.0060.00323.89
8.1.230.0090.00319.13
8.1.220.0030.00617.74
8.1.210.0040.00418.77
8.1.200.0040.00417.48
8.1.190.0040.00417.48
8.1.180.0050.00318.10
8.1.170.0050.00318.62
8.1.160.0050.00322.09
8.1.150.0070.00018.79
8.1.140.0040.00417.63
8.1.130.0000.00717.85
8.1.120.0040.00417.63
8.1.110.0000.00817.61
8.1.100.0040.00417.65
8.1.90.0000.00717.63
8.1.80.0000.00717.61
8.1.70.0000.00717.53
8.1.60.0040.00417.67
8.1.50.0000.00817.59
8.1.40.0040.00417.67
8.1.30.0040.00417.79
8.1.20.0060.00317.79
8.1.10.0030.00617.66
8.1.00.0060.00317.63
8.0.300.0000.00718.77
8.0.290.0040.00416.75
8.0.280.0000.00718.35
8.0.270.0030.00317.20
8.0.260.0000.00717.29
8.0.250.0000.00717.17
8.0.240.0000.00717.10
8.0.230.0060.00317.10
8.0.220.0000.00717.09
8.0.210.0040.00416.94
8.0.200.0030.00317.13
8.0.190.0060.00317.01
8.0.180.0040.00417.08
8.0.170.0050.00317.14
8.0.160.0060.00317.10
8.0.150.0040.00417.08
8.0.140.0000.00916.97
8.0.130.0030.00613.57
8.0.120.0040.00416.99
8.0.110.0040.00417.05
8.0.100.0040.00416.94
8.0.90.0040.00417.05
8.0.80.0040.01217.04
8.0.70.0040.00416.85
8.0.60.0000.00816.95
8.0.50.0020.00516.90
8.0.30.0020.02117.15
8.0.20.0050.01517.49
8.0.10.0030.00317.12
8.0.00.0110.00816.80
7.4.330.0000.00615.18
7.4.320.0030.00316.83
7.4.300.0030.00316.73
7.4.290.0070.00016.73
7.4.280.0050.00216.67
7.4.270.0080.00016.74
7.4.260.0030.00516.82
7.4.250.0000.00716.75
7.4.240.0040.00416.68
7.4.230.0000.00716.53
7.4.220.0060.01116.63
7.4.210.0070.00716.82
7.4.200.0070.00016.79
7.4.160.0120.00316.80
7.4.150.0120.00617.40
7.4.140.0010.01617.86
7.4.130.0080.00916.80
7.4.120.0070.01016.78
7.4.110.0110.00716.61
7.4.100.0080.01116.77
7.4.90.0060.01116.73
7.4.80.0120.00619.39
7.4.70.0060.01216.63
7.4.60.0090.00916.66
7.4.50.0040.00416.46
7.4.40.0110.00716.60
7.4.30.0110.00616.67
7.4.10.0090.00915.04
7.4.00.0080.00915.05
7.3.330.0030.00313.31
7.3.320.0050.00013.52
7.3.310.0000.00716.46
7.3.300.0030.00316.42
7.3.290.0140.00016.48
7.3.280.0100.00716.49
7.3.270.0000.01717.40
7.3.260.0120.00916.47
7.3.250.0110.00616.74
7.3.240.0180.00416.88
7.3.230.0070.01016.73
7.3.210.0070.01416.64
7.3.200.0120.00319.39
7.3.190.0130.00416.50
7.3.180.0110.00416.48
7.3.170.0040.01216.73
7.3.160.0100.00616.73
7.3.130.0100.01014.95
7.3.120.0090.00614.94
7.3.110.0070.01114.77
7.3.100.0140.00315.22
7.3.90.0070.00715.17
7.3.80.0110.00015.14
7.3.70.0080.00315.04
7.3.60.0050.00815.04
7.3.50.0000.01715.00
7.3.40.0030.01415.07
7.3.30.0100.00715.07
7.3.20.0000.01416.60
7.3.10.0130.00616.61
7.3.00.0030.00916.83
7.2.330.0070.01116.86
7.2.320.0130.00516.79
7.2.310.0110.00716.88
7.2.300.0100.00616.80
7.2.290.0090.00916.86
7.2.260.0070.01115.32
7.2.250.0130.00315.27
7.2.240.0030.01315.25
7.2.230.0030.01015.39
7.2.220.0070.01015.21
7.2.210.0030.01015.06
7.2.200.0030.01015.48
7.2.190.0030.01015.45
7.2.180.0100.00715.33
7.2.170.0060.01015.15
7.2.160.0070.00315.36
7.2.150.0040.01117.12
7.2.140.0130.00617.22
7.2.130.0030.01217.21
7.2.120.0120.00617.02
7.2.110.0040.01116.88
7.2.100.0120.00617.13
7.2.90.0130.00317.19
7.2.80.0150.00016.98
7.2.70.0040.01016.80
7.2.60.0050.00717.02
7.2.50.0070.01117.15
7.2.40.0000.01717.20
7.2.30.0000.00916.99
7.2.20.0070.00716.98
7.2.10.0110.00317.07
7.2.00.0030.00918.45
7.1.330.0120.00316.10
7.1.320.0060.01115.93
7.1.310.0090.00315.82
7.1.300.0120.00316.12
7.1.290.0030.01016.07
7.1.280.0070.00715.93
7.1.270.0120.00615.73
7.1.260.0070.00716.02
7.1.250.0070.00815.80
7.1.240.0030.01415.89
7.1.230.0040.01116.05
7.1.220.0090.00615.85
7.1.210.0090.00616.00
7.1.200.0010.01216.00
7.1.190.0090.00615.87
7.1.180.0030.00715.92
7.1.170.0070.00415.57
7.1.160.0070.01016.00
7.1.150.0110.00415.97
7.1.140.0030.01016.02
7.1.130.0100.00716.09
7.1.120.0060.00915.64
7.1.110.0060.00616.02
7.1.100.0020.01117.13
7.1.90.0000.01615.82
7.1.80.0040.00816.13
7.1.70.0040.00816.78
7.1.60.0090.01017.79
7.1.50.0010.01316.27
7.1.40.0040.00415.96
7.1.30.0060.00315.92
7.1.20.0000.01416.21
7.1.10.0110.00416.06
7.1.00.0070.04019.20
7.0.330.0080.00415.53
7.0.320.0040.00715.66
7.0.310.0110.00015.49
7.0.300.0070.00715.46
7.0.290.0000.00815.66
7.0.280.0030.01315.68
7.0.270.0000.01215.65
7.0.260.0060.00615.55
7.0.250.0050.00415.71
7.0.240.0030.00715.57
7.0.230.0080.00315.39
7.0.220.0070.00315.43
7.0.210.0000.01115.45
7.0.200.0000.01016.23
7.0.190.0130.00315.78
7.0.180.0030.01115.82
7.0.170.0060.01215.79
7.0.160.0110.00315.82
7.0.150.0070.00715.64
7.0.140.0080.03718.65
7.0.130.0060.00915.62
7.0.120.0030.00915.73
7.0.110.0060.00615.48
7.0.100.0070.00315.46
7.0.90.0030.00915.75
7.0.80.0070.00415.44
7.0.70.0040.01115.69
7.0.60.0050.04817.62
7.0.50.0040.03216.81
7.0.40.0120.03716.88
7.0.30.0270.03716.83
7.0.20.0060.02616.76
7.0.10.0050.03216.79
7.0.00.0060.02916.90
5.6.400.0040.01114.17
5.6.390.0030.00714.48
5.6.380.0000.01414.57
5.6.370.0030.00914.59
5.6.360.0080.00414.66
5.6.350.0070.00713.88
5.6.340.0070.00714.68
5.6.330.0070.00714.37
5.6.320.0030.00914.64
5.6.310.0040.00914.59
5.6.300.0030.00914.67
5.6.290.0100.00314.38
5.6.280.0070.01014.27
5.6.270.0090.00614.49
5.6.260.0030.01214.57
5.6.250.0080.00814.63
5.6.240.0030.00614.44
5.6.230.0000.01114.23
5.6.220.0110.00314.36
5.6.210.0060.04117.51
5.6.200.0110.03516.32
5.6.190.0050.04417.56
5.6.180.1860.02617.26
5.6.170.0170.04017.35
5.6.160.0030.04617.28
5.6.150.0080.02816.27
5.6.140.0070.04416.43
5.6.130.0070.02216.30
5.6.120.0030.04817.74
5.6.110.0070.04817.56
5.6.100.0080.04317.66
5.6.90.0080.03317.60
5.6.80.0030.02317.46
5.6.70.0030.00714.35
5.6.60.0100.00014.41
5.6.50.0070.00714.42
5.6.40.0100.00714.39
5.6.30.0110.00314.21
5.6.20.0060.00614.50
5.6.10.0060.00314.41
5.6.00.0030.01014.27
5.5.380.0090.00614.26
5.5.370.0070.00714.43
5.5.360.0090.00614.79
5.5.350.0130.04817.23
5.5.340.0050.03316.24
5.5.330.0090.04317.27
5.5.320.0220.04117.18
5.5.310.0190.04217.20
5.5.300.0070.04516.17
5.5.290.0070.02716.10
5.5.280.0050.02617.71
5.5.270.0100.04217.59
5.5.260.0120.04017.26
5.5.250.0040.02917.26
5.5.240.0150.03917.16
5.5.230.0000.01414.37
5.5.220.0030.01114.26
5.5.210.0040.01114.35
5.5.200.0080.00413.84
5.5.190.0050.00514.34
5.5.180.0070.00714.31
5.5.170.0040.00814.25
5.5.160.0030.01014.07
5.5.150.0080.00614.40
5.5.140.0060.00914.31
5.5.130.0090.00314.11
5.5.120.0100.00314.19
5.5.110.0000.01314.02
5.5.100.0000.01114.02
5.5.90.0000.00814.04
5.5.80.0060.00314.40
5.5.70.0030.01014.19
5.5.60.0000.01913.80
5.5.50.0060.00914.04
5.5.40.0000.01014.34
5.5.30.0070.00714.25
5.5.20.0040.00714.37
5.5.10.0000.01414.00
5.5.00.0040.01113.81
5.4.450.0250.02516.18
5.4.440.0130.02716.06
5.4.430.0230.02216.25
5.4.420.0170.02716.19
5.4.410.0160.02516.00
5.4.400.0230.02016.03
5.4.390.0200.02715.98
5.4.380.0510.03315.76
5.4.370.0350.03915.91
5.4.360.0530.02815.79
5.4.350.0650.03515.90
5.4.340.0630.03015.75
5.4.330.0040.00812.96
5.4.320.0050.02212.73
5.4.310.0040.02112.73
5.4.300.0030.02412.73
5.4.290.0060.02112.73
5.4.280.0050.01912.68
5.4.270.0080.02012.68
5.4.260.0090.02012.68
5.4.250.0080.01912.68
5.4.240.0070.02112.68
5.4.230.0050.02412.68
5.4.220.0080.02112.68
5.4.210.0060.02112.68
5.4.200.0030.02312.67
5.4.190.0040.02112.67
5.4.180.0070.02012.67
5.4.170.0050.02012.68
5.4.160.0070.02112.68
5.4.150.0050.02212.67
5.4.140.0050.03112.52
5.4.130.0040.02812.51
5.4.120.0070.01912.49
5.4.110.0040.02112.49
5.4.100.0020.02212.49
5.4.90.0070.02312.49
5.4.80.0070.03012.49
5.4.70.0060.02912.49
5.4.60.0060.02912.48
5.4.50.0050.03012.48
5.4.40.0060.02712.48
5.4.30.0060.02812.48
5.4.20.0080.02612.48
5.4.10.0050.02812.48
5.4.00.0080.02812.22
5.3.290.0060.03812.80
5.3.280.0080.05212.71
5.3.270.0090.05012.72
5.3.260.0070.05012.72
5.3.250.0060.06312.72
5.3.240.0030.04012.72
5.3.230.0070.04112.71
5.3.220.0050.05512.68
5.3.210.0060.04212.68
5.3.200.0060.04512.68
5.3.190.0060.04312.67
5.3.180.0070.05112.67
5.3.170.0080.05012.67
5.3.160.0050.05112.67
5.3.150.0120.06612.67
5.3.140.0070.05012.66
5.3.130.0070.05312.66
5.3.120.0040.04112.65
5.3.110.0050.04212.66
5.3.100.0050.03912.13
5.3.90.0100.03912.11
5.3.80.0040.03812.11
5.3.70.0060.03612.10
5.3.60.0060.03812.09
5.3.50.0100.03312.04
5.3.40.0040.03912.04
5.3.30.0060.03611.99
5.3.20.0060.03511.77
5.3.10.0040.04111.74
5.3.00.0050.04011.73
5.2.170.0020.0339.23
5.2.160.0040.0299.23
5.2.150.0050.0299.23
5.2.140.0060.0289.23
5.2.130.0040.0299.19
5.2.120.0040.0299.19
5.2.110.0020.0329.19
5.2.100.0050.0289.19
5.2.90.0030.0319.18
5.2.80.0040.0309.18
5.2.70.0040.0309.18
5.2.60.0020.0349.14
5.2.50.0040.0309.11
5.2.40.0030.0309.09
5.2.30.0040.0309.06
5.2.20.0030.0309.06
5.2.10.0060.0278.94
5.2.00.0060.0338.80
5.1.60.0040.0398.09
5.1.50.0040.0288.09
5.1.40.0050.0298.07
5.1.30.0070.0348.41
5.1.20.0090.0298.44
5.1.10.0060.0268.16
5.1.00.0060.0248.16
5.0.50.0060.0236.64
5.0.40.0060.0246.50
5.0.30.0040.0316.32
5.0.20.0030.0236.28
5.0.10.0020.0216.26
5.0.00.0040.0306.25
4.4.90.0020.0164.78
4.4.80.0060.0124.76
4.4.70.0010.0174.75
4.4.60.0030.0164.76
4.4.50.0030.0234.77
4.4.40.0050.0294.71
4.4.30.0020.0164.76
4.4.20.0040.0144.84
4.4.10.0030.0214.85
4.4.00.0030.0344.75
4.3.110.0020.0224.67
4.3.100.0030.0154.66
4.3.90.0030.0144.63
4.3.80.0010.0304.59
4.3.70.0030.0144.63
4.3.60.0030.0144.63
4.3.50.0070.0124.62
4.3.40.0010.0264.54
4.3.30.0030.0153.30
4.3.20.0000.0193.28
4.3.10.0020.0163.24
4.3.00.0070.01715.95

preferences:
45.15 ms | 401 KiB | 5 Q