3v4l.org

run code in 300+ PHP versions simultaneously
<?php $youtube_videos_count = 1; $string = 'http://youtu.be/O7Lm3BMG8ow The G20 meeting in Washington over the weekend ended with a tacit endorsement of the recent Japanese monetary policy that has caused the yen to lose 11% over the past 3 months, and has the Nikkei 30% higher since the beginning of the year. The South Koreans were complainants following pressures on its own vital export sector but was only able to get a commitment from the G20 to be mindful of unintended negative side effects stemming from extended periods of monetary easing. Finance Minister Aso told us that the other members of the G20 had agreed that the bond buying plan put forward by the Bank of Japan was inde'; $replacement = '<span class="video"><a id="youTubeVideo' . ++$youtube_videos_count . '" href="http://www.youtube.com/watch?v=$1" target="_blank">View Our Video Blog Entry For This Post</a></span>'; echo preg_replace('((http://)?(www.)?(youtube.com|youtu.be)(/v/|/watch\?v=|/)([a-zA-Z0-9_-]*)(.*))', $replacement, $string);

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.0040.01116.60
8.3.50.0110.00922.03
8.3.40.0070.01419.00
8.3.30.0110.00318.98
8.3.20.0000.00820.13
8.3.10.0040.00423.61
8.3.00.0040.00419.63
8.2.180.0140.00318.66
8.2.170.0130.01022.96
8.2.160.0070.00720.35
8.2.150.0080.00024.18
8.2.140.0050.00324.66
8.2.130.0080.00026.16
8.2.120.0050.00222.24
8.2.110.0000.00820.38
8.2.100.0080.00417.82
8.2.90.0000.00819.00
8.2.80.0040.00417.97
8.2.70.0040.00417.75
8.2.60.0040.00417.92
8.2.50.0000.00818.07
8.2.40.0050.00318.16
8.2.30.0030.00718.04
8.2.20.0040.00417.77
8.2.10.0000.00718.04
8.2.00.0080.00017.79
8.1.280.0180.00425.92
8.1.270.0040.00423.91
8.1.260.0080.00026.35
8.1.250.0000.00828.09
8.1.240.0050.00522.51
8.1.230.0040.00720.93
8.1.220.0080.00017.74
8.1.210.0000.00918.77
8.1.200.0060.00317.35
8.1.190.0040.00417.53
8.1.180.0030.00518.10
8.1.170.0040.00418.63
8.1.160.0000.00821.97
8.1.150.0050.00318.81
8.1.140.0080.00017.57
8.1.130.0000.00717.74
8.1.120.0030.00517.52
8.1.110.0000.00717.58
8.1.100.0000.00717.46
8.1.90.0040.00417.49
8.1.80.0070.00017.52
8.1.70.0000.00717.53
8.1.60.0050.00517.74
8.1.50.0050.00317.73
8.1.40.0020.00517.63
8.1.30.0030.00617.81
8.1.20.0000.00817.77
8.1.10.0040.00417.67
8.1.00.0060.00317.45
8.0.300.0000.00718.77
8.0.290.0040.00417.18
8.0.280.0000.00718.50
8.0.270.0040.00317.18
8.0.260.0070.00016.97
8.0.250.0030.00317.14
8.0.240.0000.00717.17
8.0.230.0050.00217.14
8.0.220.0040.00417.10
8.0.210.0030.00517.08
8.0.200.0070.00017.13
8.0.190.0040.00417.01
8.0.180.0030.00317.12
8.0.170.0000.00817.10
8.0.160.0000.00717.00
8.0.150.0000.00817.08
8.0.140.0000.00717.07
8.0.130.0030.00313.48
8.0.120.0050.00217.04
8.0.110.0040.00417.03
8.0.100.0030.00516.95
8.0.90.0040.00417.08
8.0.80.0110.00716.97
8.0.70.0040.00416.92
8.0.60.0000.00816.84
8.0.50.0040.00417.11
8.0.30.0140.00917.25
8.0.20.0090.00917.42
8.0.10.0000.00717.04
8.0.00.0100.01116.88
7.4.330.0000.00515.00
7.4.320.0000.00616.66
7.4.300.0040.00416.69
7.4.290.0000.00716.75
7.4.280.0000.00716.79
7.4.270.0070.00016.73
7.4.260.0050.00316.70
7.4.250.0040.00416.67
7.4.240.0000.00716.60
7.4.230.0000.00716.75
7.4.220.0140.00416.82
7.4.210.0070.00816.71
7.4.200.0080.00016.80
7.4.190.0070.00016.91
7.4.160.0070.01016.56
7.4.150.0070.01317.40
7.4.140.0110.00617.86
7.4.130.0080.01116.70
7.4.120.0060.01116.67
7.4.110.0070.01416.82
7.4.100.0100.01016.70
7.4.90.0090.00916.63
7.4.80.0080.01119.39
7.4.70.0130.00316.78
7.4.60.0130.00616.70
7.4.50.0030.00316.37
7.4.40.0090.00622.77
7.4.30.0100.00716.68
7.4.10.0040.01414.98
7.4.00.0080.00914.99
7.3.330.0060.00013.16
7.3.320.0000.00513.24
7.3.310.0040.00416.30
7.3.300.0000.00716.30
7.3.290.0120.00916.29
7.3.280.0080.01116.39
7.3.270.0070.01017.40
7.3.260.0130.01016.36
7.3.250.0150.00516.54
7.3.240.0160.00316.73
7.3.230.0070.01016.59
7.3.210.0090.00916.77
7.3.200.0140.00319.39
7.3.190.0100.01016.85
7.3.180.0070.01016.29
7.3.170.0060.01016.64
7.3.160.0130.00716.43
7.3.130.0090.00915.11
7.3.120.0120.00314.88
7.3.110.0070.01014.90
7.3.100.0000.01315.23
7.3.90.0090.00614.84
7.3.80.0090.00414.99
7.3.70.0000.01015.00
7.3.60.0070.00715.05
7.3.50.0080.00815.01
7.3.40.0040.00414.71
7.3.30.0000.01315.03
7.3.20.0080.00816.41
7.3.10.0090.00616.75
7.3.00.0080.00616.43
7.2.330.0120.00616.76
7.2.320.0130.00316.86
7.2.310.0030.01416.68
7.2.300.0060.01116.68
7.2.290.0100.01316.80
7.2.260.0070.01015.15
7.2.250.0030.01415.05
7.2.240.0030.01014.86
7.2.230.0030.01315.08
7.2.220.0030.00615.18
7.2.210.0100.00315.13
7.2.200.0100.00715.14
7.2.190.0070.00315.00
7.2.180.0030.00715.15
7.2.170.0110.00415.20
7.2.160.0070.00314.88
7.2.150.0030.01016.94
7.2.140.0090.00617.14
7.2.130.0030.01316.89
7.2.120.0110.00016.96
7.2.110.0060.01216.92
7.2.100.0040.01517.10
7.2.90.0030.01017.10
7.2.80.0030.01317.10
7.2.70.0030.01417.20
7.2.60.0070.01016.96
7.2.50.0040.00816.96
7.2.40.0070.01017.16
7.2.30.0110.00017.07
7.2.20.0100.00717.00
7.2.10.0060.01316.94
7.2.00.0090.00618.40
7.1.330.0000.01215.97
7.1.320.0090.00615.88
7.1.310.0030.00615.87
7.1.300.0070.00715.93
7.1.290.0000.00815.80
7.1.280.0040.00915.89
7.1.270.0040.01115.96
7.1.260.0090.00615.87
7.1.250.0000.01515.80
7.1.240.0040.01115.88
7.1.230.0030.01015.69
7.1.220.0060.01515.63
7.1.210.0090.00615.93
7.1.200.0030.00716.13
7.1.190.0080.00815.77
7.1.180.0070.00415.77
7.1.170.0060.00615.75
7.1.160.0000.01715.92
7.1.150.0030.01016.00
7.1.140.0030.01415.86
7.1.130.0030.01415.88
7.1.120.0030.01016.16
7.1.110.0070.00616.16
7.1.100.0090.00517.22
7.1.90.0060.00915.95
7.1.80.0000.01216.13
7.1.70.0080.00716.63
7.1.60.0050.01317.62
7.1.50.0040.01116.56
7.1.40.0030.01216.04
7.1.30.0100.00316.07
7.1.20.0000.01516.11
7.1.10.0000.01116.02
7.1.00.0120.03619.16
7.0.330.0070.00715.81
7.0.320.0090.00315.58
7.0.310.0000.01615.69
7.0.300.0060.00615.55
7.0.290.0100.00315.45
7.0.280.0030.00715.81
7.0.270.0090.00615.82
7.0.260.0070.00715.80
7.0.250.0060.00615.56
7.0.240.0030.01015.59
7.0.230.0040.01115.62
7.0.220.0000.01115.69
7.0.210.0040.01115.48
7.0.200.0060.00416.17
7.0.190.0070.00315.31
7.0.180.0030.01115.59
7.0.170.0060.00315.70
7.0.160.0000.01415.53
7.0.150.0040.00715.55
7.0.140.0020.04418.87
7.0.130.0070.00715.45
7.0.120.0060.00315.67
7.0.110.0060.00615.76
7.0.100.0040.02317.68
7.0.90.0060.04617.73
7.0.80.0040.02517.67
7.0.70.0030.02517.54
7.0.60.0050.02117.85
7.0.50.0100.02117.90
7.0.40.0050.02116.82
7.0.30.0030.04316.75
7.0.20.0030.04716.92
7.0.10.0070.03016.85
7.0.00.0100.02816.91
5.6.400.0100.00314.20
5.6.390.0030.01013.97
5.6.380.0000.01314.45
5.6.370.0040.01514.41
5.6.360.0040.01114.04
5.6.350.0030.00614.69
5.6.340.0080.00014.45
5.6.330.0070.01014.19
5.6.320.0070.01014.59
5.6.310.0000.01014.28
5.6.300.0110.00414.62
5.6.290.0040.00814.29
5.6.280.0060.04017.63
5.6.270.0110.00414.53
5.6.260.0060.00614.50
5.6.250.0080.02117.44
5.6.240.0080.03317.62
5.6.230.0020.02717.51
5.6.220.0030.02317.57
5.6.210.0070.02217.51
5.6.200.0070.02217.64
5.6.190.0050.02417.69
5.6.180.0120.03517.77
5.6.170.0070.03917.66
5.6.160.0080.04317.64
5.6.150.0050.04617.65
5.6.140.0080.03717.77
5.6.130.0050.04617.70
5.6.120.0130.03317.78
5.6.110.0070.04617.65
5.6.100.0100.04517.74
5.6.90.0070.02917.72
5.6.80.0070.04017.39
5.6.70.0050.04017.37
5.6.60.0050.03517.51
5.6.50.0070.04217.36
5.6.40.0120.03917.43
5.6.30.0020.03617.40
5.6.20.0120.04217.42
5.6.10.0030.02917.29
5.6.00.0080.04217.27
5.5.380.0030.02217.44
5.5.370.0050.02517.41
5.5.360.0070.02017.39
5.5.350.0050.02717.36
5.5.340.0020.02817.57
5.5.330.0070.01717.54
5.5.320.0060.04617.49
5.5.310.0050.02617.67
5.5.300.0100.04317.56
5.5.290.0080.04217.59
5.5.280.0060.03817.62
5.5.270.0130.03817.53
5.5.260.0030.03317.49
5.5.250.0040.04717.43
5.5.240.0100.02317.14
5.5.230.0070.02717.24
5.5.220.0030.04017.28
5.5.210.0070.04517.32
5.5.200.0080.04517.15
5.5.190.0030.04717.34
5.5.180.0060.04317.33
5.5.170.0030.00914.20
5.5.160.0100.04017.28
5.5.150.0060.04617.20
5.5.140.0050.04117.20
5.5.130.0050.04617.15
5.5.120.0120.03717.31
5.5.110.0050.04317.26
5.5.100.0040.02617.13
5.5.90.0080.03917.18
5.5.80.0070.04117.32
5.5.70.0040.03617.16
5.5.60.0130.03717.13
5.5.50.0080.04517.21
5.5.40.0100.03817.19
5.5.30.0080.03517.19
5.5.20.0070.04417.19
5.5.10.0080.04217.10
5.5.00.0070.04117.07
5.4.450.0020.05015.87
5.4.440.0050.04215.90
5.4.430.0100.03915.90
5.4.420.0080.04115.76
5.4.410.0030.04215.80
5.4.400.0030.03215.60
5.4.390.0050.03615.66
5.4.380.0030.03015.67
5.4.370.0070.02415.60
5.4.360.0100.02315.67
5.4.350.0050.04115.71
5.4.340.0050.03515.71
5.4.330.0030.00812.38
5.4.320.0080.03515.72
5.4.310.0080.02015.71
5.4.300.0050.02915.59
5.4.290.0100.03015.68
5.4.280.0100.03515.72
5.4.270.0050.03715.64
5.4.260.0060.03315.68
5.4.250.0070.03515.72
5.4.240.0070.04015.76
5.4.230.0130.03715.72
5.4.220.0090.02615.64
5.4.210.0070.04515.68
5.4.200.0050.04215.71
5.4.190.0170.03015.71
5.4.180.0080.03715.67
5.4.170.0060.04015.76
5.4.160.0030.02515.73
5.4.150.0120.04215.67
5.4.140.0030.03714.36
5.4.130.0050.02314.37
5.4.120.0130.03314.37
5.4.110.0030.03814.37
5.4.100.0050.03014.36
5.4.90.0070.03714.29
5.4.80.0050.02214.33
5.4.70.0060.03814.40
5.4.60.0050.03814.38
5.4.50.0030.03614.33
5.4.40.0100.02814.41
5.4.30.0080.04014.32
5.4.20.0050.03914.39
5.4.10.0020.03214.33
5.4.00.0050.04114.10
5.3.290.0100.01813.45
5.3.280.0130.03613.49
5.3.270.0100.03713.48
5.3.260.0050.02613.46
5.3.250.0040.03013.45
5.3.240.0050.02413.42
5.3.230.0090.03613.44
5.3.220.0080.03213.40
5.3.210.0060.04113.47
5.3.200.0070.04013.40
5.3.190.0030.04413.44
5.3.180.0050.04113.45
5.3.170.0100.03713.44
5.3.160.0050.04313.39
5.3.150.0090.04013.45
5.3.140.0040.03313.46
5.3.130.0100.02113.39
5.3.120.0060.04013.45
5.3.110.0030.04413.45
5.3.100.0050.03813.14
5.3.90.0070.02313.19
5.3.80.0070.04013.13
5.3.70.0030.02813.18
5.3.60.0070.03713.19
5.3.50.0050.03713.12
5.3.40.0000.02613.13
5.3.30.0080.02513.14
5.3.20.0050.03912.92
5.3.10.0050.02312.99
5.3.00.0030.02512.99
5.2.170.0030.04011.62
5.2.160.0070.05011.62
5.2.150.0070.06311.62
5.2.140.0130.04711.62
5.2.130.0100.05311.62
5.2.120.0070.04711.62
5.2.110.0030.05311.62
5.2.100.0000.06311.62
5.2.90.0030.05311.62
5.2.80.0000.06311.62
5.2.70.0070.05011.62
5.2.60.0000.07011.62
5.2.50.0130.04311.62
5.2.40.0130.05011.62
5.2.30.0030.04011.62
5.2.20.0030.05711.62
5.2.10.0070.05011.62
5.2.00.0070.05711.62
5.1.60.0030.05011.62
5.1.50.0100.02711.62
5.1.40.0000.05711.62
5.1.30.0030.05011.62
5.1.20.0070.03711.62
5.1.10.0100.04311.62
5.1.00.0000.06011.62
5.0.50.0030.03311.62
5.0.40.0000.04011.62
5.0.30.0030.04711.62
5.0.20.0070.04011.62
5.0.10.0070.03011.62
5.0.00.0100.05711.62
4.4.90.0000.02711.62
4.4.80.0070.03011.62
4.4.70.0030.03311.62
4.4.60.0000.03711.62
4.4.50.0000.03711.62
4.4.40.0070.03711.62
4.4.30.0030.03711.62
4.4.20.0000.04011.62
4.4.10.0000.03711.62
4.4.00.0000.05011.62
4.3.110.0030.03711.62
4.3.100.0070.03011.62
4.3.90.0030.02311.62
4.3.80.0030.04711.62
4.3.70.0030.02311.62
4.3.60.0000.02711.62
4.3.50.0070.03011.62
4.3.40.0000.04711.62
4.3.30.0000.02311.62
4.3.20.0030.03311.62
4.3.10.0000.03711.62
4.3.00.0030.02311.62

preferences:
37.94 ms | 401 KiB | 5 Q