3v4l.org

run code in 300+ PHP versions simultaneously
<?php $foo = 'http://google.com?omg=wtf'; echo preg_replace('/(http|https)://(google.com/is', 'https://$2', $foo);

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.0100.00718.55
8.3.50.0120.00922.11
8.3.40.0140.00318.71
8.3.30.0100.00319.10
8.3.20.0040.00420.38
8.3.10.0030.00522.04
8.3.00.0050.00322.45
8.2.180.0160.00616.50
8.2.170.0100.00722.96
8.2.160.0110.00421.00
8.2.150.0080.00024.18
8.2.140.0090.00024.66
8.2.130.0030.01026.16
8.2.120.0080.00019.23
8.2.110.0060.00322.23
8.2.100.0060.00819.57
8.2.90.0040.00418.95
8.2.80.0040.00417.97
8.2.70.0080.00017.63
8.2.60.0000.00918.04
8.2.50.0040.00418.07
8.2.40.0050.00218.22
8.2.30.0080.00017.96
8.2.20.0000.00717.59
8.2.10.0040.00419.33
8.2.00.0000.00717.61
8.1.280.0070.01325.92
8.1.270.0000.00822.13
8.1.260.0070.00026.35
8.1.250.0070.00028.09
8.1.240.0000.00923.95
8.1.230.0080.00319.02
8.1.220.0000.00717.77
8.1.210.0040.00418.77
8.1.200.0000.00817.23
8.1.190.0020.00517.50
8.1.180.0040.00418.61
8.1.170.0040.00418.53
8.1.160.0040.00421.92
8.1.150.0040.00418.49
8.1.140.0000.00717.44
8.1.130.0070.00017.75
8.1.120.0030.00317.40
8.1.110.0040.00417.27
8.1.100.0000.00717.36
8.1.90.0050.00217.39
8.1.80.0000.00717.46
8.1.70.0030.00317.29
8.1.60.0030.00617.52
8.1.50.0070.00017.39
8.1.40.0040.00417.44
8.1.30.0050.00517.50
8.1.20.0040.00417.52
8.1.10.0040.00417.51
8.1.00.0000.00717.33
8.0.300.0070.00018.77
8.0.290.0040.00417.16
8.0.280.0000.00718.44
8.0.270.0030.00517.27
8.0.260.0030.00316.88
8.0.250.0000.00716.91
8.0.240.0040.00417.04
8.0.230.0090.00016.97
8.0.220.0050.00216.77
8.0.210.0030.00316.85
8.0.200.0040.00416.95
8.0.190.0040.00416.87
8.0.180.0030.00516.80
8.0.170.0040.00416.90
8.0.160.0000.00716.77
8.0.150.0030.00316.82
8.0.140.0000.00716.75
8.0.130.0060.00013.38
8.0.120.0050.00316.85
8.0.110.0050.00216.82
8.0.100.0030.00416.70
8.0.90.0040.00416.96
8.0.80.0030.01316.92
8.0.70.0000.00816.91
8.0.60.0000.00717.00
8.0.50.0040.00416.74
8.0.30.0120.00617.04
8.0.20.0100.01217.40
8.0.10.0050.00217.00
8.0.00.0090.01116.62
7.4.330.0000.00515.00
7.4.320.0030.00316.42
7.4.300.0000.00616.49
7.4.290.0000.00716.34
7.4.280.0030.00316.44
7.4.270.0030.00316.57
7.4.260.0070.00016.44
7.4.250.0050.00216.39
7.4.240.0020.00716.49
7.4.230.0060.00016.31
7.4.220.0140.00316.36
7.4.210.0110.00516.64
7.4.200.0000.00716.54
7.4.190.0030.00316.63
7.4.160.0090.01416.59
7.4.150.0100.00717.40
7.4.140.0080.00817.86
7.4.130.0060.01016.38
7.4.120.0090.00916.33
7.4.110.0060.01216.46
7.4.100.0030.01516.58
7.4.90.0070.01016.53
7.4.80.0140.00719.39
7.4.70.0100.00716.53
7.4.60.0130.01016.49
7.4.50.0050.00316.50
7.4.40.0110.00422.77
7.4.30.0130.00616.52
7.4.00.0050.01314.91
7.3.330.0060.00013.00
7.3.320.0000.00513.04
7.3.310.0070.00016.16
7.3.300.0030.00316.20
7.3.290.0070.01016.19
7.3.280.0110.00816.19
7.3.270.0100.00717.40
7.3.260.0100.01016.29
7.3.250.0050.01216.41
7.3.240.0130.00316.21
7.3.230.0100.00716.39
7.3.210.0060.01016.22
7.3.200.0100.00619.39
7.3.190.0110.00516.41
7.3.180.0060.01616.14
7.3.170.0060.01016.35
7.3.160.0200.00316.42
7.3.120.0080.01014.72
7.3.110.0120.00614.57
7.3.100.0040.01114.76
7.3.90.0060.00614.79
7.3.80.0030.00914.84
7.3.70.0000.00814.83
7.3.60.0080.00714.76
7.3.50.0060.00614.75
7.3.40.0060.00614.78
7.3.30.0040.00914.66
7.3.20.0060.00616.71
7.3.10.0100.00316.57
7.3.00.0030.01016.28
7.2.330.0080.00816.26
7.2.320.0140.00416.49
7.2.310.0070.01016.59
7.2.300.0090.01316.56
7.2.290.0090.00616.26
7.2.250.0110.00714.87
7.2.240.0030.01314.57
7.2.230.0060.01015.14
7.2.220.0100.00315.01
7.2.210.0070.00714.89
7.2.200.0040.00714.81
7.2.190.0070.01114.53
7.2.180.0080.00314.99
7.2.170.0070.01014.93
7.2.60.0060.00916.86
7.2.00.0060.01019.18
7.1.330.0090.00615.60
7.1.320.0040.00815.59
7.1.310.0040.01115.79
7.1.300.0120.00315.46
7.1.290.0030.01015.76
7.1.280.0040.01215.87
7.1.270.0080.00415.69
7.1.260.0110.00315.71
7.1.200.0040.00815.73
7.1.100.0000.01117.80
7.1.70.0000.00717.10
7.1.60.0030.02119.82
7.1.50.0030.01717.01
7.1.00.0070.07322.35
7.0.200.0070.00016.73
7.0.140.0030.07322.04
7.0.60.0000.08719.91
7.0.50.0070.08317.88
7.0.40.0000.04720.21
7.0.30.0330.04720.12
7.0.20.0230.05720.01
7.0.10.0170.04020.30
7.0.00.0100.06020.25
5.6.280.0000.07720.98
5.6.210.0170.07020.76
5.6.200.0070.08318.18
5.6.190.0000.04720.41
5.6.180.0370.07020.43
5.6.170.0230.08020.62
5.6.160.0030.05720.45
5.6.150.0030.08318.11
5.6.140.0030.08718.22
5.6.130.0030.08318.21
5.6.120.0070.06721.11
5.6.110.0030.08321.08
5.6.100.0100.08021.10
5.6.90.0130.07021.12
5.6.80.0100.07320.53
5.6.70.0270.06720.38
5.5.350.0100.08720.43
5.5.340.0130.07317.88
5.5.330.0070.05320.12
5.5.320.0430.06720.13
5.5.310.0230.08320.28
5.5.300.0100.03318.01
5.5.290.0100.07717.91
5.5.280.0070.07020.79
5.5.270.0070.08020.88
5.5.260.0100.05320.74
5.5.250.0030.04020.49
5.5.240.0200.02720.25
5.4.450.0200.04719.42
5.4.440.4200.04019.57
5.4.430.0130.05319.31
5.4.420.0230.05019.45
5.4.410.0170.05719.21
5.4.400.0130.04719.20
5.4.390.0070.05719.21
5.4.380.0170.05718.50
5.4.370.0130.03318.48
5.4.360.0170.04718.49
5.4.350.0070.04111.98
5.4.340.0080.03911.97
5.4.320.0060.04412.45
5.4.310.0080.04012.45
5.4.300.0080.03412.45
5.4.290.0060.03812.45
5.4.280.0070.03912.34
5.4.270.0080.04612.34
5.4.260.0300.05318.80
5.4.250.0070.06018.84
5.4.240.0070.05718.88
5.4.230.0100.08318.86
5.4.220.0070.05318.73
5.4.210.0000.06018.69
5.4.200.0170.06318.78
5.4.190.0030.06318.87
5.4.180.0070.05718.85
5.4.170.0070.06318.62
5.4.160.0230.05018.81
5.4.150.0170.06018.98
5.4.140.0070.07316.53
5.4.130.0100.07016.48
5.4.120.0070.05316.23
5.4.110.0170.05716.22
5.4.100.0100.07016.17
5.4.90.0100.05316.36
5.4.80.0130.05316.43
5.4.70.0130.04316.40
5.4.60.0100.04716.44
5.4.50.0070.07316.38
5.4.40.0200.05016.36
5.4.30.0270.05316.27
5.4.20.0130.05016.38
5.4.10.0170.06716.26
5.4.00.0100.06315.71
5.3.290.0090.03512.80
5.3.280.0100.05014.58
5.3.270.0100.05014.75
5.3.260.0130.05014.48
5.3.250.0170.05314.37
5.3.240.0070.05314.30
5.3.230.0000.06314.36
5.3.220.0130.06314.57
5.3.210.0100.06014.26
5.3.200.0130.07314.58
5.3.190.0070.06014.58
5.3.180.0100.05014.70
5.3.170.0070.05014.62
5.3.160.0070.05014.57
5.3.150.0130.05714.27
5.3.140.0070.08014.32
5.3.130.0100.05314.59
5.3.120.0100.05714.55
5.3.110.0130.07714.63
5.3.100.0130.05313.80
5.3.90.0070.05714.02
5.3.80.0130.04713.89
5.3.70.0070.06713.93

preferences:
41.57 ms | 401 KiB | 5 Q