3v4l.org

run code in 300+ PHP versions simultaneously
<?php $html = 'ahsgdjagshjdgasjdgajgsd gjagdjhagsjhgda sgdhjagsjdgajhgdjad<a href="http://short.awsubs.co/be9Vk">Solidfiles</a> jashd sha7st7atsdgasgda sgahsfd ahgsfafd<a href=https://link.safelinkconverter.com/review.php?id=aHR0cDovL2JfdC5seS8ySDdMajh3&c=1&user=61942 rel=nofollow>Zippyshare</a>'; echo preg_replace_callback('~href=[\'"]?([^\s\'"]+)[\'"]?(.*?)>(.*?)</a>~', function($m) { //var_export($m); return "<a href=\"" . base64_encode($m[1]) . "\"{$m[2]}>{$m[3]}</a>"; }, $html);

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.120.0040.00418.99
8.3.110.0050.00320.94
8.3.100.0060.00924.06
8.3.90.0110.00726.77
8.3.80.0040.00817.97
8.3.70.0070.00716.75
8.3.60.0130.00618.52
8.3.50.0090.00417.57
8.3.40.0090.00619.10
8.3.30.0120.00319.01
8.3.20.0040.00421.85
8.3.10.0080.00023.58
8.3.00.0080.00019.92
8.2.240.0110.00017.49
8.2.230.0040.00422.58
8.2.220.0040.00437.54
8.2.210.0000.00826.77
8.2.200.0060.00318.79
8.2.190.0030.01318.48
8.2.180.0090.00916.61
8.2.170.0110.01122.96
8.2.160.0050.01022.33
8.2.150.0040.00424.18
8.2.140.0090.00024.66
8.2.130.0080.00019.39
8.2.120.0080.00026.35
8.2.110.0000.01022.38
8.2.100.0030.01218.16
8.2.90.0080.00018.09
8.2.80.0050.00319.19
8.2.70.0040.00417.80
8.2.60.0000.00818.22
8.2.50.0000.00918.10
8.2.40.0040.00420.59
8.2.30.0040.00419.68
8.2.20.0040.00418.18
8.2.10.0040.00418.30
8.2.00.0050.00218.32
8.1.300.0090.00318.20
8.1.290.0000.01230.84
8.1.280.0040.01125.92
8.1.270.0040.00423.83
8.1.260.0080.00026.35
8.1.250.0030.00628.09
8.1.240.0080.00023.97
8.1.230.0040.00722.72
8.1.220.0040.00417.91
8.1.210.0030.00618.85
8.1.200.0090.00017.60
8.1.190.0040.00417.47
8.1.180.0040.00418.10
8.1.170.0040.00418.75
8.1.160.0000.00719.07
8.1.150.0000.00719.12
8.1.140.0030.00617.80
8.1.130.0050.00317.68
8.1.120.0030.00517.54
8.1.110.0000.00817.66
8.1.100.0000.00917.64
8.1.90.0070.00417.67
8.1.80.0000.00717.60
8.1.70.0030.00617.56
8.1.60.0040.00417.76
8.1.50.0040.00417.70
8.1.40.0040.00417.61
8.1.30.0030.00617.82
8.1.20.0000.00817.78
8.1.10.0050.00317.74
8.1.00.0060.00317.55
8.0.300.0000.00720.00
8.0.290.0000.00817.00
8.0.280.0030.00618.50
8.0.270.0030.00317.18
8.0.260.0050.00217.06
8.0.250.0030.00617.07
8.0.240.0030.00317.12
8.0.230.0080.00417.14
8.0.220.0030.00317.09
8.0.210.0070.00017.11
8.0.200.0070.00017.15
8.0.190.0040.00417.19
8.0.180.0000.00717.11
8.0.170.0060.00317.09
8.0.160.0000.00916.96
8.0.150.0000.00717.07
8.0.140.0050.00317.06
8.0.130.0030.00313.54
8.0.120.0040.00417.09
8.0.110.0000.00717.03
8.0.100.0040.00417.06
8.0.90.0000.00817.05
8.0.80.0030.01217.15
8.0.70.0030.00517.20
8.0.60.0040.00416.94
8.0.50.0000.00717.01
8.0.30.0080.01117.09
8.0.20.0180.01317.45
8.0.10.0000.00717.27
8.0.00.0110.00916.95
7.4.330.0050.00015.55
7.4.320.0000.00616.86
7.4.300.0060.00016.91
7.4.290.0000.01016.95
7.4.280.0040.00416.74
7.4.270.0040.00416.85
7.4.260.0080.00016.90
7.4.250.0070.00016.77
7.4.240.0040.00416.82
7.4.230.0030.00316.74
7.4.220.0040.00416.65
7.4.210.0090.00916.75
7.4.200.0000.00716.79
7.4.160.0070.01216.61
7.4.140.0150.00617.86
7.4.130.0120.00616.93
7.4.120.0090.00916.76
7.4.110.0100.00716.87
7.4.100.0100.01416.68
7.4.90.0130.00316.83
7.4.80.0110.01019.39
7.4.70.0070.01116.61
7.4.60.0080.01116.72
7.4.50.0070.00316.68
7.4.40.0090.01216.77
7.4.10.0110.00714.93
7.4.00.0050.01315.04
7.3.330.0000.00513.49
7.3.320.0000.00513.49
7.3.310.0000.00816.51
7.3.300.0030.00316.33
7.3.290.0000.00716.41
7.3.280.0130.00716.34
7.3.260.0100.01216.74
7.3.240.0110.00816.71
7.3.230.0150.00316.67
7.3.210.0060.01016.51
7.3.200.0030.01316.66
7.3.190.0090.00616.74
7.3.180.0030.01416.54
7.3.170.0120.00616.43
7.3.160.0090.01216.44
7.3.130.0060.00915.19
7.3.120.0110.00614.96
7.3.110.0140.00314.71
7.3.100.0080.00414.86
7.3.90.0030.01015.05
7.3.80.0060.00314.58
7.3.70.0040.01214.69
7.3.60.0030.01315.04
7.3.50.0060.00615.05
7.3.40.0120.00615.01
7.3.30.0030.01014.95
7.3.20.0040.00416.92
7.3.10.0070.00316.99
7.3.00.0070.01016.58
7.2.330.0120.00816.86
7.2.320.0090.00916.86
7.2.310.0110.00716.63
7.2.300.0070.01016.76
7.2.290.0100.00716.82
7.2.260.0100.01015.22
7.2.250.0070.00715.19
7.2.240.0140.00415.38
7.2.230.0180.00015.30
7.2.220.0060.01015.02
7.2.210.0060.00915.40
7.2.200.0000.01415.13
7.2.190.0110.00715.31
7.2.180.0110.00415.18
7.2.170.0090.00915.12
7.2.160.0030.01115.17
7.2.150.0030.00916.87
7.2.140.0060.00616.71
7.2.130.0040.01117.34
7.2.120.0070.00717.14
7.2.110.0000.01116.84
7.2.100.0110.00417.15
7.2.90.0070.00717.11
7.2.80.0060.00917.26
7.2.70.0040.00817.25
7.2.60.0110.00316.95
7.2.50.0120.00617.17
7.2.40.0090.00917.60
7.2.30.0260.00817.68
7.2.20.2070.01217.68
7.2.10.1770.01217.51
7.2.00.1710.01117.66
7.1.330.0040.01216.02
7.1.320.0090.00615.95
7.1.310.0000.01815.86
7.1.300.0040.00815.99
7.1.290.0100.00715.91
7.1.280.0030.01015.68
7.1.270.0040.01115.60
7.1.260.0040.00716.14
7.1.250.0000.00815.94
7.1.240.0030.00616.14
7.1.230.0040.01115.82
7.1.220.0040.01116.01
7.1.210.0040.01116.04
7.1.200.0060.00515.84
7.1.190.0080.00815.89
7.1.180.0060.01015.97
7.1.170.0090.00915.93
7.1.160.0610.01216.45
7.1.150.2710.01416.26
7.1.140.1930.01316.67
7.1.130.1650.01016.29
7.1.120.1630.01216.47
7.1.110.1660.01016.37
7.1.100.1740.00916.03
7.1.90.1900.01116.24
7.1.80.1880.00816.19
7.1.70.2030.01315.82
7.1.60.1960.01124.85
7.1.50.2280.01124.54
7.1.40.2260.01224.45
7.1.30.2280.01424.27
7.1.20.2480.01324.49
7.1.10.2630.01215.50
7.1.00.1690.01115.53
7.0.330.0040.00415.36
7.0.320.0070.00415.70
7.0.310.0100.00315.63
7.0.300.0000.01615.43
7.0.290.0030.01015.53
7.0.280.0050.00515.54
7.0.270.0090.00315.28
7.0.260.0030.00915.29
7.0.250.0030.00915.34
7.0.240.0090.00315.63
7.0.230.0040.00415.40
7.0.220.0040.00815.81
7.0.210.0060.00615.75
7.0.200.0000.01015.58
7.0.190.0040.01115.43
7.0.180.0080.00815.63
7.0.170.0030.01015.54
7.0.160.0030.01015.52
7.0.150.0040.01215.38
7.0.140.0000.01315.48
7.0.130.0100.00315.68
7.0.120.0040.00715.68
7.0.110.0070.01015.76
7.0.100.0090.00615.50
7.0.90.0070.00615.53
7.0.80.0070.00715.50
7.0.70.0040.01115.43
7.0.60.0040.01115.57
7.0.50.0060.00615.52
7.0.40.0040.00413.79
7.0.30.0060.00813.49
7.0.20.0090.00313.54
7.0.10.0100.00613.71
7.0.00.0090.00913.53
5.6.400.0070.00714.73
5.6.390.0040.01114.50
5.6.380.0110.00314.62
5.6.370.0030.01014.61
5.6.360.0100.00714.52
5.6.350.0070.00714.23
5.6.340.0030.00614.67
5.6.330.0030.01014.13
5.6.320.0070.00714.45
5.6.310.0060.00914.38
5.6.300.0030.01014.24
5.6.290.0030.01014.24
5.6.280.0090.00614.72
5.6.270.0100.01014.65
5.6.260.0070.01014.70
5.6.250.0030.01414.34
5.6.240.0000.00914.59
5.6.230.0040.00814.47
5.6.220.0070.00714.46
5.6.210.0040.00714.50
5.6.200.0060.01014.39
5.6.190.0050.00514.66
5.6.180.0070.01014.42
5.6.170.0040.01414.76
5.6.160.0080.00614.72
5.6.150.0090.00014.41
5.6.140.0000.01414.39
5.6.130.0060.01014.45
5.6.120.0030.00914.32
5.6.110.0030.01014.28
5.6.100.0060.00614.49
5.6.90.0030.00614.38
5.6.80.0060.00914.23
5.6.70.0060.00914.63
5.6.60.0090.00614.50
5.6.50.0030.01014.67
5.6.40.0080.00014.43
5.6.30.0120.00314.66
5.6.20.0000.01114.36
5.6.10.0040.01114.70
5.6.00.0030.00914.53

preferences:
29.01 ms | 403 KiB | 5 Q