3v4l.org

run code in 300+ PHP versions simultaneously
<?php print "omg"; $parts = parse_url("http://0xADC27040/btc.txt"); print "meh"; print_r($parts); print "wah"; $hosts = gethostbynamel($parts['host']); print_r($hosts); #echo bin2hex($parts["user"]); print "wtf"; ?>

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.70.0120.00318.68
8.3.60.0070.01418.43
8.3.50.0090.01121.94
8.3.40.0110.00718.82
8.3.30.0110.00419.16
8.3.20.0050.00320.41
8.3.10.0080.00023.73
8.3.00.0050.00322.75
8.2.190.0120.00616.63
8.2.180.0120.00317.00
8.2.170.0080.00822.96
8.2.160.0100.00722.39
8.2.150.0080.00024.18
8.2.140.0090.00024.66
8.2.130.0000.00926.16
8.2.120.0080.00019.48
8.2.110.0030.00622.38
8.2.100.0040.00817.97
8.2.90.0000.00819.36
8.2.80.0080.00017.97
8.2.70.0060.00318.05
8.2.60.0050.00318.05
8.2.50.0000.00818.10
8.2.40.0000.00720.41
8.2.30.0040.00418.25
8.2.20.0000.00717.79
8.2.10.0000.00819.55
8.2.00.0080.00017.82
8.1.280.0040.01125.92
8.1.270.0090.00022.09
8.1.260.0000.00826.35
8.1.250.0070.00028.09
8.1.240.0060.00322.29
8.1.230.0000.01117.89
8.1.220.0040.00417.91
8.1.210.0080.00018.77
8.1.200.0000.00817.35
8.1.190.0000.00817.35
8.1.180.0040.00418.10
8.1.170.0050.00318.52
8.1.160.0040.00422.28
8.1.150.0070.00018.70
8.1.140.0070.00017.49
8.1.130.0030.00317.88
8.1.120.0080.00417.50
8.1.110.0080.00017.59
8.1.100.0040.00417.50
8.1.90.0070.00017.51
8.1.80.0080.00017.55
8.1.70.0050.00317.43
8.1.60.0070.00317.61
8.1.50.0030.00617.47
8.1.40.0080.00017.58
8.1.30.0080.00017.66
8.1.20.0000.00917.77
8.1.10.0040.00417.75
8.1.00.0040.00417.54
8.0.300.0030.00618.77
8.0.290.0040.00416.88
8.0.280.0000.00718.45
8.0.270.0070.00017.48
8.0.260.0070.00016.95
8.0.250.0000.00716.97
8.0.240.0050.00217.08
8.0.230.0050.00317.00
8.0.220.0050.00316.96
8.0.210.0000.00716.96
8.0.200.0000.00717.05
8.0.190.0070.00016.98
8.0.180.0000.00716.88
8.0.170.0090.00016.99
8.0.160.0000.00817.01
8.0.150.0040.00416.81
8.0.140.0000.00716.86
8.0.130.0050.00313.51
8.0.120.0050.00317.07
8.0.110.0000.00816.96
8.0.100.0080.00017.01
8.0.90.0070.00016.88
8.0.80.0070.00716.96
8.0.70.0050.00316.92
8.0.60.0070.00016.93
8.0.50.0050.00217.03
8.0.30.0120.00917.33
8.0.20.0130.00817.40
8.0.10.0040.00417.06
8.0.00.0130.01116.98
7.4.330.0050.00015.34
7.4.320.0030.00316.57
7.4.300.0060.00016.56
7.4.290.0030.00316.59
7.4.280.0040.00416.48
7.4.270.0050.00516.64
7.4.260.0000.00716.65
7.4.250.0030.00616.71
7.4.240.0000.00816.65
7.4.230.0040.00416.80
7.4.220.0030.01816.68
7.4.210.0090.00616.65
7.4.200.0000.00816.71
7.4.190.0070.00016.91
7.4.160.0030.01316.54
7.4.150.0040.01317.40
7.4.140.0140.00517.86
7.4.130.0100.01016.58
7.4.120.0070.01116.84
7.4.110.0150.00916.54
7.4.100.0090.00916.55
7.4.90.0140.00516.83
7.4.80.0100.01016.68
7.4.70.0080.00916.68
7.4.60.0030.01316.74
7.4.50.0000.00916.78
7.4.40.0110.00422.77
7.4.30.0130.00616.71
7.4.00.0100.00714.95
7.3.330.0020.00213.30
7.3.320.0030.00313.36
7.3.310.0050.00216.31
7.3.300.0030.00316.41
7.3.290.0100.01016.32
7.3.280.0100.00916.43
7.3.270.0060.01217.40
7.3.260.0140.00716.68
7.3.250.0090.00916.41
7.3.240.0090.00916.62
7.3.230.0090.00916.59
7.3.210.0090.00916.62
7.3.200.0120.01319.39
7.3.190.0090.01416.73
7.3.180.0100.01016.72
7.3.170.0030.01416.63
7.3.160.0090.00616.36
7.3.120.0080.00915.12
7.3.110.0060.01314.79
7.3.100.0080.00814.94
7.3.90.0090.00315.10
7.3.80.0060.01015.09
7.3.70.0030.01514.84
7.3.60.0000.00914.68
7.3.50.0140.00415.13
7.3.40.0000.01014.82
7.3.30.0000.01514.90
7.3.20.0060.00316.75
7.3.10.0070.00716.64
7.3.00.0070.00716.83
7.2.330.0100.01316.68
7.2.320.0160.00316.85
7.2.310.0100.00716.93
7.2.300.0100.00716.66
7.2.290.0160.01016.70
7.2.250.0070.01015.05
7.2.240.0070.01315.41
7.2.230.0030.01215.42
7.2.220.0100.00715.16
7.2.210.0030.01614.99
7.2.200.0070.00714.96
7.2.190.0090.00615.03
7.2.180.0050.00514.96
7.2.170.0040.00814.73
7.2.130.0100.00417.07
7.2.120.0040.00817.11
7.2.110.0080.00417.14
7.2.100.0040.00916.93
7.2.90.0060.00917.20
7.2.80.0140.00617.09
7.2.70.0080.01017.15
7.2.60.0100.01017.03
7.2.50.0160.00317.06
7.2.40.0080.00917.05
7.2.30.0100.00717.09
7.2.20.0040.01317.24
7.2.10.0070.00816.92
7.2.00.0060.00716.88
7.1.330.0090.00615.95
7.1.320.0070.01416.07
7.1.310.0100.00316.01
7.1.300.0060.00615.74
7.1.290.0000.01315.84
7.1.280.0040.01216.18
7.1.270.0070.00715.66
7.1.260.0000.00915.94
7.1.250.0110.00415.98
7.1.70.0250.00317.17
7.1.60.0070.01819.24
7.1.50.0070.01717.04
7.1.00.0100.07022.86
7.0.200.0060.00616.76
7.0.140.0000.07322.33
7.0.60.0070.03720.30
7.0.50.0100.07318.12
7.0.40.0030.04320.39
7.0.30.0200.05320.50
7.0.20.0130.06020.51
7.0.10.0100.03720.43
7.0.00.0070.05720.50
5.6.280.0170.06321.16
5.6.210.0070.03720.93
5.6.200.0100.07018.54
5.6.190.0130.03321.06
5.6.180.0130.07321.05
5.6.170.0270.04020.80
5.6.160.0070.08320.75
5.6.150.0030.04318.46
5.6.140.0000.08018.67
5.6.130.0100.07318.49
5.6.120.0170.08021.28
5.6.110.0130.07721.32
5.6.100.0100.05021.42
5.6.90.0130.08321.23
5.6.80.0030.04020.81
5.5.350.0070.07720.77
5.5.340.0070.05018.34
5.5.330.0030.08720.76
5.5.320.0330.04020.66
5.5.310.0370.07720.51
5.5.300.0000.08718.24
5.5.290.0030.08718.36
5.5.280.0070.08321.23
5.5.270.0130.07021.11
5.5.260.0100.08020.98
5.5.250.0100.07020.93
5.5.240.0100.07020.56
5.4.450.0270.04720.00
5.4.440.0130.06019.82
5.4.430.0270.07019.90
5.4.420.0170.04719.91
5.4.410.0170.04719.75
5.4.400.0300.06319.60
5.4.390.0270.05319.53
5.4.380.0300.03719.59
5.4.370.0230.07019.48
5.4.360.0300.06319.48
5.4.350.0270.06719.57
5.4.340.0230.07019.60
5.4.320.0230.07319.55
5.4.310.0230.05019.59
5.4.300.0230.07019.49
5.4.290.0170.04319.57
5.4.280.0170.06019.66
5.4.270.0200.03319.52
5.4.260.0200.06319.51
5.4.250.0200.06319.79
5.4.240.0200.04719.61
5.4.230.0170.04719.59
5.4.220.0200.07719.60
5.4.210.0200.03319.70
5.4.200.0300.05019.53
5.4.190.0170.05019.56
5.4.180.0170.07319.47
5.4.170.0170.07719.73
5.4.160.0200.07719.65
5.4.150.0070.05019.46
5.4.140.0270.06016.92
5.4.130.0170.04717.07
5.4.120.0200.07016.92
5.4.110.0170.05717.17
5.4.100.0170.04716.92
5.4.90.0200.04316.89
5.4.80.0170.03717.18
5.4.70.0130.07317.20
5.4.60.0130.03317.02
5.4.50.0200.05317.04
5.4.40.0130.06016.88
5.4.30.0130.07316.91
5.4.20.0170.07016.86
5.4.10.0170.04716.99
5.4.00.0230.06316.40
5.3.290.0200.03714.89
5.3.280.0270.06314.93
5.3.270.0170.07314.87
5.3.260.0200.07015.04
5.3.250.0130.04714.81
5.3.240.0200.07014.97
5.3.230.0130.04014.96
5.3.220.0200.07314.92
5.3.210.0170.03715.00
5.3.200.0170.03715.07
5.3.190.0270.06314.93
5.3.180.0130.04014.86
5.3.170.0030.05714.89
5.3.160.0100.04015.00
5.3.150.0170.03714.77
5.3.140.0170.04014.92
5.3.130.0170.04314.84
5.3.120.0170.03314.90
5.3.110.0170.03314.88
5.3.100.0100.04014.33
5.3.90.0070.04314.34
5.3.80.0170.03314.35
5.3.70.0100.03714.34
5.3.60.0170.03714.52
5.3.50.0200.02714.23
5.3.40.0170.03314.36
5.3.30.0230.03314.41
5.3.20.0130.03313.91
5.3.10.0130.03313.88
5.3.00.0230.03013.93
5.2.170.0100.02712.25
5.2.160.0000.03712.25
5.2.150.0030.03312.25
5.2.140.0100.03012.25
5.2.130.0070.03012.25
5.2.120.0100.02712.25
5.2.110.0170.02712.25
5.2.100.0170.02312.25
5.2.90.0130.02312.25
5.2.80.0070.03012.25
5.2.70.0100.02712.25
5.2.60.0100.02712.25
5.2.50.0030.03312.25
5.2.40.0070.03012.25
5.2.30.0070.03312.25
5.2.20.0030.03712.25
5.2.10.0070.02712.25
5.2.00.0070.03312.25
5.1.60.0070.02312.25
5.1.50.0070.02312.25
5.1.40.0100.02012.25
5.1.30.0130.02012.25
5.1.20.0070.03012.25
5.1.10.0070.02712.25
5.1.00.0070.02312.25
5.0.50.0000.02312.25
5.0.40.0030.01712.25
5.0.30.0000.03012.25
5.0.20.0030.02012.25
5.0.10.0030.01712.25
5.0.00.0030.02712.25
4.4.90.0000.01712.25
4.4.80.0000.01712.25
4.4.70.0030.01312.25
4.4.60.0030.01312.25
4.4.50.0000.01712.25
4.4.40.0070.02012.25
4.4.30.0030.01312.25
4.4.20.0030.01312.25
4.4.10.0000.01712.25
4.4.00.0000.02312.25
4.3.110.0000.01712.25
4.3.100.0030.01312.25
4.3.90.0000.01712.25
4.3.80.0000.02312.25
4.3.70.0030.01312.25
4.3.60.0070.01012.25
4.3.50.0030.01312.25
4.3.40.0000.02312.25
4.3.30.0000.01712.25
4.3.20.0000.01712.25
4.3.10.0000.01712.25
4.3.00.0000.01712.25

preferences:
39.6 ms | 401 KiB | 5 Q