3v4l.org

run code in 300+ PHP versions simultaneously
<?php $content = '<p style="text-align: justify;"> <a href="http://www.disenowebusabilidad.es/wp-content/uploads/2012/09/fuentes-web-google-fonts.jpg"><img class="aligncenter size-full wp-image-39" title="fuentes-web-google-fonts" src="http://www.disenowebusabilidad.es/wp-content/uploads/2012/09/fuentes-web-google-fonts.jpg" alt="fuentes web con Google Fonts API" width="490" height="300" /></a></p>'; $matches = array(); preg_match_all( '/<a(.*?)href="(.*?)"/i', $content, $matches); $url = str_replace('disenowebusabilidad.es', 'adoramedia.es', $matches[2][0]); echo preg_replace('/<a(.*?)href="(.*?)"/i', '<a${1}href="' . $url . '"', $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.0090.01216.48
8.3.50.0100.00716.62
8.3.40.0100.01018.78
8.3.30.0120.00318.71
8.3.20.0070.00020.33
8.3.10.0000.00823.61
8.3.00.0090.00019.50
8.2.180.0150.00016.38
8.2.170.0090.00922.96
8.2.160.0150.00020.52
8.2.150.0030.00524.18
8.2.140.0030.00524.66
8.2.130.0040.00419.32
8.2.120.0030.00526.35
8.2.110.0100.00021.22
8.2.100.0060.00618.21
8.2.90.0080.00019.36
8.2.80.0050.00318.05
8.2.70.0030.00717.75
8.2.60.0030.00618.05
8.2.50.0080.00018.10
8.2.40.0090.00020.42
8.2.30.0060.00321.23
8.2.20.0040.00418.21
8.2.10.0000.00718.21
8.2.00.0040.00418.04
8.1.280.0120.00325.92
8.1.270.0000.00823.79
8.1.260.0050.00226.35
8.1.250.0040.00428.09
8.1.240.0090.00023.97
8.1.230.0070.00419.22
8.1.220.0040.00417.78
8.1.210.0030.00618.77
8.1.200.0040.00417.36
8.1.190.0060.00317.22
8.1.180.0040.00418.10
8.1.170.0000.00918.78
8.1.160.0000.00718.97
8.1.150.0080.00020.68
8.1.140.0030.00619.61
8.1.130.0000.00718.84
8.1.120.0000.00817.61
8.1.110.0060.00317.61
8.1.100.0080.00017.52
8.1.90.0040.00517.56
8.1.80.0040.00417.48
8.1.70.0000.00817.57
8.1.60.0030.00617.72
8.1.50.0000.00817.67
8.1.40.0060.00317.61
8.1.30.0000.00817.81
8.1.20.0080.00017.86
8.1.10.0060.00317.75
8.1.00.0030.00517.56
8.0.300.0070.00018.77
8.0.290.0060.00316.75
8.0.280.0070.00018.35
8.0.270.0030.00317.29
8.0.260.0030.00317.04
8.0.250.0030.00317.05
8.0.240.0020.00517.10
8.0.230.0000.00717.10
8.0.220.0050.00317.07
8.0.210.0020.00517.11
8.0.200.0030.00317.07
8.0.190.0070.00417.14
8.0.180.0060.00316.98
8.0.170.0040.00417.14
8.0.160.0070.00017.11
8.0.150.0030.00316.95
8.0.140.0030.00717.00
8.0.130.0030.00313.48
8.0.120.0030.00516.89
8.0.110.0000.00717.05
8.0.100.0040.00417.07
8.0.90.0040.00417.03
8.0.80.0100.00717.04
8.0.70.0030.00517.01
8.0.60.0070.00016.86
8.0.50.0040.00417.03
8.0.30.0100.01117.02
8.0.20.0100.00917.40
8.0.10.0070.00017.16
8.0.00.0090.00916.73
7.4.330.0020.00215.55
7.4.320.0040.00416.68
7.4.300.0070.00016.77
7.4.290.0040.00716.65
7.4.280.0000.00716.66
7.4.270.0040.00416.71
7.4.260.0030.00313.39
7.4.250.0070.00016.64
7.4.240.0050.00316.57
7.4.230.0040.00416.59
7.4.220.0110.01116.74
7.4.210.0090.00916.72
7.4.200.0040.00416.88
7.4.160.0080.00916.68
7.4.150.0230.01617.40
7.4.140.0100.00817.86
7.4.130.0190.00616.63
7.4.120.0110.00716.66
7.4.110.0120.00616.58
7.4.100.0090.00916.53
7.4.90.0070.00916.58
7.4.80.0140.00419.39
7.4.70.0130.00316.49
7.4.60.0060.01016.84
7.4.50.0040.00816.53
7.4.40.0140.00316.75
7.4.30.0070.01016.71
7.4.00.0030.00715.00
7.3.330.0060.00013.35
7.3.320.0020.00213.40
7.3.310.0020.00516.53
7.3.300.0060.00016.39
7.3.290.0000.00716.48
7.3.280.0080.01016.49
7.3.270.0140.00317.40
7.3.260.0130.00516.68
7.3.250.0120.00716.57
7.3.240.0150.00816.49
7.3.230.0120.00616.58
7.3.210.0130.00316.77
7.3.200.0030.01616.63
7.3.190.0130.00316.43
7.3.180.0000.01716.53
7.3.170.0100.00716.67
7.3.160.0030.01316.45
7.3.120.0030.01015.20
7.3.110.0090.00314.84
7.3.100.0040.01114.79
7.3.90.0040.00814.73
7.3.80.0060.01014.93
7.3.70.0090.00615.00
7.3.60.0040.00415.13
7.3.50.0070.00715.14
7.3.40.0070.00314.95
7.3.30.0000.01115.07
7.3.20.0070.01016.83
7.3.10.0000.01416.82
7.3.00.0080.00616.54
7.2.330.0060.01216.80
7.2.320.0110.00616.79
7.2.310.0040.01316.86
7.2.300.0100.00616.85
7.2.290.0100.00716.87
7.2.240.0030.00715.26
7.2.230.0040.01115.13
7.2.220.0030.00615.23
7.2.210.0100.00315.11
7.2.200.0030.01015.16
7.2.190.0070.00715.05
7.2.180.0090.00615.31
7.2.170.0060.00915.08
7.2.160.0110.00715.20
7.2.150.0130.00016.82
7.2.140.0030.01216.98
7.2.130.0100.00716.79
7.2.120.0040.01217.25
7.2.110.0000.01017.08
7.2.100.0000.01317.18
7.2.90.0000.01417.38
7.2.80.0100.00316.94
7.2.70.0000.01317.10
7.2.60.0410.00516.13
7.2.50.0000.01116.93
7.2.40.0070.00717.32
7.2.30.0140.00016.98
7.2.20.0070.00417.19
7.2.10.0120.00417.02
7.2.00.0060.00718.38
7.1.330.0030.01216.13
7.1.320.0000.01415.81
7.1.310.0000.00916.02
7.1.300.0070.00715.92
7.1.290.0100.00316.21
7.1.280.0030.01015.66
7.1.270.0090.00015.91
7.1.260.0060.00315.66
7.1.250.0100.00716.09
7.1.200.0060.00315.97
7.1.100.0030.01318.54
7.1.70.0030.00917.32
7.1.60.0130.01335.43
7.1.50.0150.01235.11
7.1.40.0140.01134.62
7.1.30.0190.00934.93
7.1.20.0160.01134.82
7.1.10.0030.00916.71
7.1.00.0090.00316.97
7.0.200.0060.00616.75
7.0.190.0060.00616.86
7.0.180.0090.00316.27
7.0.170.0050.00816.42
7.0.160.0030.00916.43
7.0.150.0070.00416.51
7.0.140.0000.01216.58
7.0.130.0050.00816.76
7.0.120.0090.00316.74
7.0.110.0100.00716.32
7.0.100.0000.01216.58
7.0.90.0060.00616.54
7.0.80.0000.01316.47
7.0.70.0080.00416.54
7.0.60.0030.00916.34
7.0.50.0030.01016.34
7.0.40.0030.00916.57
7.0.30.0030.01016.62
7.0.20.0040.00716.51
7.0.10.0070.00416.83
7.0.00.0000.01116.50

preferences:
50.74 ms | 400 KiB | 5 Q