3v4l.org

run code in 300+ PHP versions simultaneously
<?php print "omg"; $parts = parse_url("http://134744072 :1.2.3.4/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.60.0060.01018.81
8.3.50.0130.01022.08
8.3.40.0040.01119.09
8.3.30.0070.00719.32
8.3.20.0040.00420.54
8.3.10.0000.00723.86
8.3.00.0080.00022.59
8.2.180.0060.00916.75
8.2.170.0000.01522.96
8.2.160.0070.00722.22
8.2.150.0080.00024.18
8.2.140.0030.00524.66
8.2.130.0050.00326.16
8.2.120.0080.00017.75
8.2.110.0090.00022.37
8.2.100.0080.00417.97
8.2.90.0030.00619.50
8.2.80.0030.00518.05
8.2.70.0100.00017.74
8.2.60.0030.00518.29
8.2.50.0060.00318.07
8.2.40.0060.00318.28
8.2.30.0040.00418.30
8.2.20.0040.00417.93
8.2.10.0000.00817.89
8.2.00.0030.00617.80
8.1.280.0150.00025.92
8.1.270.0060.00323.93
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0040.00423.99
8.1.230.0040.00719.09
8.1.220.0000.00817.79
8.1.210.0030.00518.77
8.1.200.0030.00617.35
8.1.190.0060.00317.65
8.1.180.0030.00718.10
8.1.170.0030.00618.65
8.1.160.0040.00422.09
8.1.150.0000.00718.59
8.1.140.0030.00617.49
8.1.130.0000.00717.97
8.1.120.0040.00417.56
8.1.110.0040.00417.53
8.1.100.0040.00417.45
8.1.90.0040.00417.55
8.1.80.0050.00317.52
8.1.70.0040.00417.39
8.1.60.0030.00617.63
8.1.50.0000.00817.50
8.1.40.0040.00417.61
8.1.30.0060.00317.56
8.1.20.0050.00317.78
8.1.10.0040.00417.68
8.1.00.0040.00417.63
8.0.300.0040.00418.77
8.0.290.0000.00817.17
8.0.280.0070.00018.50
8.0.270.0000.00717.47
8.0.260.0000.00817.02
8.0.250.0000.00716.96
8.0.240.0050.00217.12
8.0.230.0070.00017.07
8.0.220.0070.00017.02
8.0.210.0020.00517.07
8.0.200.0030.00317.07
8.0.190.0040.00417.05
8.0.180.0050.00217.02
8.0.170.0000.00817.05
8.0.160.0050.00217.09
8.0.150.0050.00216.88
8.0.140.0070.00017.02
8.0.130.0060.00013.42
8.0.120.0040.00417.11
8.0.110.0000.00817.11
8.0.100.0000.00816.97
8.0.90.0040.00417.00
8.0.80.0170.00317.00
8.0.70.0050.00317.07
8.0.60.0030.00517.18
8.0.50.0000.00717.17
8.0.30.0140.01017.20
8.0.20.0160.00617.40
8.0.10.0000.00717.14
8.0.00.0110.00917.08
7.4.330.0050.00015.20
7.4.320.0030.00316.50
7.4.300.0030.00316.66
7.4.290.0040.00416.59
7.4.280.0030.00316.67
7.4.270.0050.00316.66
7.4.260.0000.00816.67
7.4.250.0050.00316.68
7.4.240.0020.00616.73
7.4.230.0050.00216.82
7.4.220.0170.00316.81
7.4.210.0080.00816.70
7.4.200.0000.00716.52
7.4.190.0050.00316.62
7.4.160.0100.01016.59
7.4.150.0090.00917.40
7.4.140.0130.00517.86
7.4.130.0090.01216.64
7.4.120.0080.01316.84
7.4.110.0030.01316.76
7.4.100.0090.00916.59
7.4.90.0090.00916.51
7.4.80.0060.01216.82
7.4.70.0100.00716.57
7.4.60.0140.00316.59
7.4.50.0030.00316.78
7.4.40.0070.00722.77
7.4.30.0120.01216.64
7.4.00.0070.01115.09
7.3.330.0030.00313.33
7.3.320.0000.00513.09
7.3.310.0070.00016.45
7.3.300.0000.00716.39
7.3.290.0040.01716.41
7.3.280.0060.01216.42
7.3.270.0070.01317.40
7.3.260.0140.01016.66
7.3.250.0110.00816.69
7.3.240.0070.01016.48
7.3.230.0090.01316.70
7.3.210.0070.01116.36
7.3.200.0120.01019.39
7.3.190.0090.00916.68
7.3.180.0030.01316.48
7.3.170.0090.00616.63
7.3.160.0120.01216.68
7.3.120.0090.00515.02
7.3.110.0100.00714.91
7.3.100.0060.01114.85
7.3.90.0090.00715.10
7.3.80.0060.00814.66
7.3.70.0050.00815.01
7.3.60.0070.00814.96
7.3.50.0000.01414.80
7.3.40.0050.01014.88
7.3.30.0040.00714.89
7.3.20.0050.00916.88
7.3.10.0030.01216.88
7.3.00.0050.01116.71
7.2.330.0150.00516.89
7.2.320.0040.01417.00
7.2.310.0040.01816.69
7.2.300.0120.00616.60
7.2.290.0090.00816.63
7.2.250.0070.01015.08
7.2.240.0070.01015.18
7.2.230.0030.00915.32
7.2.220.0070.01115.16
7.2.210.0080.00815.33
7.2.200.0090.00315.29
7.2.190.0080.00715.02
7.2.180.0090.00915.12
7.2.170.0030.01115.14
7.2.00.0050.01019.00
7.1.330.0040.01116.08
7.1.320.0050.00815.89
7.1.310.0090.00915.90
7.1.300.0020.01115.87
7.1.290.0070.00815.93
7.1.280.0030.01015.84
7.1.270.0030.01115.86
7.1.260.0050.00716.00
7.1.100.0060.00618.06
7.1.70.0060.00317.28
7.1.60.0160.01019.24
7.1.50.0130.00635.16
7.1.00.0000.08022.62
7.0.200.0000.00717.08
7.0.140.0070.06322.35
7.0.60.0100.07720.35
7.0.50.0070.04718.24
7.0.40.0030.08320.48
7.0.30.0170.04320.48
7.0.20.0300.05020.54
7.0.10.0100.06320.56
7.0.00.0100.07720.44
5.6.280.0030.07721.45
5.6.210.0100.07720.79
5.6.200.0030.09018.45
5.6.190.0230.06320.99
5.6.180.0170.06321.06
5.6.170.0270.05320.78
5.6.160.0030.06020.79
5.6.150.0030.04018.67
5.6.140.0100.03318.46
5.6.130.0030.04318.54
5.6.120.0130.08021.27
5.6.110.0070.05321.34
5.6.100.0130.05321.24
5.6.90.0030.05721.31
5.6.80.0030.04020.75
5.5.350.3300.04320.77
5.5.340.0070.08018.25
5.5.330.0000.09320.83
5.5.320.0230.07020.62
5.5.310.0300.07320.68
5.5.300.0030.08018.27
5.5.290.0030.08718.30
5.5.280.0070.05021.16
5.5.270.0130.07321.00
5.5.260.0070.08721.08
5.5.250.0030.08720.94
5.5.240.0100.05720.40
5.4.450.0200.05319.96
5.4.440.0230.04719.91
5.4.430.0130.04320.03
5.4.420.0230.03319.89
5.4.410.0230.03319.77
5.4.400.0330.06719.70
5.4.390.0130.06019.83
5.4.380.0230.05319.49
5.4.370.0230.04719.66
5.4.360.0230.03319.83
5.4.350.0170.04019.50
5.4.340.0130.04319.58
5.4.320.0170.03719.50
5.4.310.0200.04319.61
5.4.300.0230.04019.60
5.4.290.0200.06719.54
5.4.280.0230.04319.57
5.4.270.0270.06719.71
5.4.260.0230.07319.63
5.4.250.0130.04319.59
5.4.240.0200.04719.48
5.4.230.0200.07719.57
5.4.220.0230.04719.56
5.4.210.0230.05719.57
5.4.200.0270.06019.61
5.4.190.0230.04319.67
5.4.180.0100.04319.67
5.4.170.0130.07019.59
5.4.160.0170.05319.73
5.4.150.0230.04319.52
5.4.140.0130.05316.93
5.4.130.0200.06317.09
5.4.120.0130.04016.92
5.4.110.0130.03717.20
5.4.100.0170.03716.96
5.4.90.0230.03717.01
5.4.80.0270.03317.05
5.4.70.0200.06717.05
5.4.60.0300.06017.10
5.4.50.0130.03716.98
5.4.40.0230.06017.03
5.4.30.0170.03317.16
5.4.20.0170.03316.94
5.4.10.0370.05316.84
5.4.00.0330.03716.36
5.3.290.0230.07014.95
5.3.280.0230.04015.02
5.3.270.0200.06314.90
5.3.260.0230.07714.93
5.3.250.0300.06714.83
5.3.240.0270.04714.83
5.3.230.0130.07714.93
5.3.220.0230.06714.86
5.3.210.0200.06015.07
5.3.200.0330.06014.76
5.3.190.0200.07315.00
5.3.180.0200.05315.00
5.3.170.0130.07014.94
5.3.160.0130.04715.04
5.3.150.0370.04714.75
5.3.140.0200.04314.99
5.3.130.0230.05014.77
5.3.120.0200.08014.88
5.3.110.0270.05014.98
5.3.100.0330.06014.21
5.3.90.0300.06314.22
5.3.80.0200.05714.23
5.3.70.0270.05014.44
5.3.60.0230.06714.38
5.3.50.0270.06014.15
5.3.40.0300.07014.29
5.3.30.0230.04314.43
5.3.20.0200.07013.99
5.3.10.0230.03014.16
5.3.00.0300.06013.85
5.2.170.0170.06712.88
5.2.160.0130.04312.88
5.2.150.0200.05312.88
5.2.140.0270.06012.88
5.2.130.0200.05712.88
5.2.120.0230.06012.88
5.2.110.0230.03312.88
5.2.100.0170.05312.88
5.2.90.0230.05712.88
5.2.80.0200.03712.88
5.2.70.0170.06312.88
5.2.60.0230.04012.88
5.2.50.0230.02712.88
5.2.40.0170.06012.88
5.2.30.0170.04012.88
5.2.20.0170.06012.88
5.2.10.0170.03312.88
5.2.00.0200.04712.88
5.1.60.0230.05312.88
5.1.50.0170.05012.88
5.1.40.0200.04012.88
5.1.30.0170.03312.88
5.1.20.0200.02012.88
5.1.10.0130.03312.88
5.1.00.0130.02312.88
5.0.50.0100.01712.88
5.0.40.0100.01712.88
5.0.30.0070.03312.88
5.0.20.0100.04012.88
5.0.10.0100.04012.88
5.0.00.0130.04712.88
4.4.90.0100.02012.88
4.4.80.0100.02012.88
4.4.70.0130.01312.88
4.4.60.0170.01312.88
4.4.50.0070.04012.88
4.4.40.0100.05312.88
4.4.30.0070.03312.88
4.4.20.0130.03012.88
4.4.10.0070.03712.88
4.4.00.0100.04012.88
4.3.110.0100.03312.88
4.3.100.0070.02012.88
4.3.90.0070.03712.88
4.3.80.0100.04012.88
4.3.70.0130.02312.88
4.3.60.0100.03012.88
4.3.50.0030.04012.88
4.3.40.0100.04712.88
4.3.30.0070.02712.88
4.3.20.0030.02712.88
4.3.10.0030.03312.88
4.3.00.0070.02012.88

preferences:
41.79 ms | 401 KiB | 5 Q