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.0110.00718.55
8.3.50.0080.01021.88
8.3.40.0150.00618.76
8.3.30.0070.00719.12
8.3.20.0070.00020.30
8.3.10.0040.00423.58
8.3.00.0090.00022.46
8.2.180.0140.00716.50
8.2.170.0140.00322.96
8.2.160.0100.00322.17
8.2.150.0080.00024.18
8.2.140.0050.00324.66
8.2.130.0070.00026.16
8.2.120.0050.00319.63
8.2.110.0030.00622.16
8.2.100.0080.00417.84
8.2.90.0030.00519.30
8.2.80.0060.00318.05
8.2.70.0040.00417.75
8.2.60.0030.00618.04
8.2.50.0050.00318.07
8.2.40.0090.00018.16
8.2.30.0000.00717.95
8.2.20.0040.00417.54
8.2.10.0040.00417.70
8.2.00.0050.00317.68
8.1.280.0040.01125.92
8.1.270.0080.00023.96
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0130.00323.78
8.1.230.0080.00319.01
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0060.00317.22
8.1.190.0060.00317.51
8.1.180.0000.00818.10
8.1.170.0040.00418.59
8.1.160.0050.00221.94
8.1.150.0030.00618.43
8.1.140.0030.00517.39
8.1.130.0000.00717.87
8.1.120.0050.00217.38
8.1.110.0030.00517.40
8.1.100.0040.00417.36
8.1.90.0000.00717.41
8.1.80.0040.00417.32
8.1.70.0050.00317.28
8.1.60.0080.00017.44
8.1.50.0070.00017.38
8.1.40.0000.00717.37
8.1.30.0060.00317.59
8.1.20.0000.00817.58
8.1.10.0040.00417.47
8.1.00.0000.00717.39
8.0.300.0000.00718.77
8.0.290.0070.00017.18
8.0.280.0000.00718.48
8.0.270.0000.00717.13
8.0.260.0090.00016.88
8.0.250.0000.00716.99
8.0.240.0000.00716.82
8.0.230.0000.00816.89
8.0.220.0030.00316.93
8.0.210.0000.00716.93
8.0.200.0030.00316.92
8.0.190.0050.00216.91
8.0.180.0040.00416.95
8.0.170.0040.00416.96
8.0.160.0040.00416.80
8.0.150.0000.00716.74
8.0.140.0050.00316.74
8.0.130.0060.00013.30
8.0.120.0030.00516.86
8.0.110.0080.00016.87
8.0.100.0050.00316.85
8.0.90.0000.00716.82
8.0.80.0130.00316.78
8.0.70.0070.00016.76
8.0.60.0040.00416.96
8.0.50.0040.00416.78
8.0.30.0090.01617.08
8.0.20.0110.00817.40
8.0.10.0040.00417.05
8.0.00.0110.00816.89
7.4.330.0030.00315.00
7.4.320.0070.00016.44
7.4.300.0070.00016.54
7.4.290.0030.00316.57
7.4.280.0060.00016.37
7.4.270.0070.00016.46
7.4.260.0040.00416.41
7.4.250.0040.00416.26
7.4.240.0050.00216.48
7.4.230.0030.00316.62
7.4.220.0040.01516.40
7.4.210.0070.00916.54
7.4.200.0000.00716.52
7.4.190.0030.00416.34
7.4.160.0120.00816.38
7.4.150.0070.01017.40
7.4.140.0120.00617.86
7.4.130.0110.00716.48
7.4.120.0090.00816.34
7.4.110.0040.01216.41
7.4.100.0100.00716.55
7.4.90.0170.00016.44
7.4.80.0170.00016.44
7.4.70.0120.00616.52
7.4.60.0100.00716.48
7.4.50.0040.00416.40
7.4.40.0100.00222.77
7.4.30.0170.00316.63
7.4.00.0070.00714.92
7.3.330.0000.00613.14
7.3.320.0000.00513.15
7.3.310.0000.00816.28
7.3.300.0000.00716.25
7.3.290.0060.01516.30
7.3.280.0060.01116.29
7.3.270.0120.01217.40
7.3.260.0090.00916.25
7.3.250.0110.00616.41
7.3.240.0110.00616.56
7.3.230.0120.00916.39
7.3.210.0090.00916.45
7.3.200.0110.01119.39
7.3.190.0120.01516.46
7.3.180.0000.01616.43
7.3.170.0080.01216.39
7.3.160.0080.01116.36
7.3.120.0040.01214.89
7.3.10.0100.00416.07
7.3.00.0080.00716.13
7.2.330.0030.01416.53
7.2.320.0030.01416.48
7.2.310.0090.00816.27
7.2.300.0100.00616.42
7.2.290.0080.00816.38
7.2.130.0070.00816.43
7.2.120.0070.01216.30
7.2.110.0080.00716.53
7.2.100.0110.00316.61
7.2.90.0130.00716.54
7.2.80.0090.00616.51
7.2.70.0060.00516.72
7.2.60.0090.00616.42
7.2.50.0100.00816.40
7.2.40.0120.00616.37
7.2.30.0170.00416.56
7.2.20.0090.01216.46
7.2.10.0090.00716.70
7.2.00.0120.00617.46
7.1.250.0130.00215.57
7.1.200.0030.00615.80
7.1.100.0090.01217.77
7.1.70.0000.01017.11
7.1.60.0110.01419.24
7.1.50.0250.00934.59
7.1.00.0100.06322.37
7.0.200.0080.00416.85
7.0.140.0070.07021.94
7.0.60.0070.05320.00
7.0.50.0070.05017.66
7.0.40.0070.08319.90
7.0.30.0470.07320.21
7.0.20.0270.07320.00
7.0.10.0030.04320.30
7.0.00.0100.08320.13
5.6.280.0000.07721.07
5.6.210.0100.07320.61
5.6.200.0100.08318.23
5.6.190.0030.04720.39
5.6.180.0300.07020.67
5.6.170.0270.06320.49
5.6.160.0130.04320.54
5.6.150.0000.04318.11
5.6.140.0030.05018.11
5.6.130.0100.08018.16
5.6.120.0000.05721.02
5.6.110.0030.09020.98
5.6.100.0100.04721.06
5.6.90.0130.05321.01
5.6.80.0100.06320.38
5.5.350.0030.07320.29
5.5.340.0000.04317.93
5.5.330.0070.03720.20
5.5.320.3570.05020.56
5.5.310.0230.07020.34
5.5.300.0130.07318.01
5.5.290.0070.05017.99
5.5.280.0130.08020.79
5.5.270.0030.04020.65
5.5.260.0070.06720.64
5.5.250.0100.05320.65
5.5.240.0070.07320.18
5.4.450.0330.05019.26
5.4.440.0530.04019.57
5.4.430.0170.05019.45
5.4.420.0100.05719.52
5.4.410.0170.04718.79
5.4.400.0130.04718.60
5.4.390.0030.06318.49
5.4.380.0170.04718.78
5.4.370.0070.06018.71
5.4.360.0070.05718.82
5.4.350.0170.05018.69
5.4.340.0070.05718.95
5.4.320.0080.04012.65
5.4.310.0100.03712.64
5.4.300.0060.03912.65
5.4.290.0060.04612.64
5.4.280.0140.05512.52
5.4.270.0150.06412.53
5.4.260.0160.09712.52
5.4.250.0050.05612.53
5.4.240.0080.05312.53
5.4.230.0100.05112.52
5.4.220.0080.05412.52
5.4.210.0070.04812.52
5.4.200.0100.04712.52
5.4.190.0070.05012.51
5.4.180.0110.07512.52
5.4.170.0110.05212.53
5.4.160.0100.06112.52
5.4.150.0080.05412.52
5.4.140.0120.05012.20
5.4.130.0130.05112.19
5.4.120.0060.04912.15
5.4.110.0120.04112.14
5.4.100.0110.05412.14
5.4.90.0070.04012.14
5.4.80.0080.03812.14
5.4.70.0090.04212.14
5.4.60.0110.03712.14
5.4.50.0140.07012.14
5.4.40.0150.07412.12
5.4.30.0100.07912.12
5.4.20.0140.06412.13
5.4.10.0110.05412.12
5.4.00.0040.04011.62
5.3.290.0100.04212.84
5.3.280.0090.03712.77
5.3.270.0080.04112.78
5.3.260.0080.03912.78
5.3.250.0100.03812.77
5.3.240.0090.04012.78
5.3.230.0070.04112.77
5.3.220.0090.04412.74
5.3.210.0080.05812.74
5.3.200.0100.05212.74
5.3.190.0110.05112.74
5.3.180.0080.05412.73
5.3.170.0070.05512.73
5.3.160.0050.04412.74
5.3.150.0080.05612.73
5.3.140.0050.04112.73
5.3.130.0090.05412.72
5.3.120.0090.04712.72
5.3.110.0080.04212.72
5.3.100.0040.04212.21
5.3.90.0060.03912.19
5.3.80.0070.03912.18
5.3.70.0060.03812.19
5.3.60.0230.08312.17
5.3.50.0150.05212.11
5.3.40.0180.07612.11
5.3.30.0100.05512.07
5.3.20.0060.04111.86
5.3.10.0060.03811.82
5.3.00.0090.03611.81
5.2.170.0050.0329.31
5.2.160.0070.0319.31
5.2.150.0060.0379.31
5.2.140.0050.0349.31
5.2.130.0080.0359.27
5.2.120.0090.0439.27
5.2.110.0170.0519.27
5.2.100.0210.0559.27
5.2.90.0090.0489.27
5.2.80.0170.0959.27
5.2.70.0060.0679.27
5.2.60.0100.0769.21
5.2.50.0200.0659.18
5.2.40.0130.0609.16
5.2.30.0140.0699.14
5.2.20.0190.0819.12
5.2.10.0210.0739.02
5.2.00.0170.0538.88
5.1.60.0060.0478.17
5.1.50.0150.0558.17
5.1.40.0110.0488.14
5.1.30.0070.0338.49
5.1.20.0110.0428.52
5.1.10.0150.0388.25
5.1.00.0110.0328.25
5.0.50.0130.0336.72
5.0.40.0090.0276.58
5.0.30.0070.0366.39
5.0.20.0050.0236.36
5.0.10.0100.0276.34
5.0.00.0060.0536.33
4.4.90.0040.0234.77
4.4.80.0050.0234.76
4.4.70.0020.0214.75
4.4.60.0040.0194.75
4.4.50.0120.0414.77
4.4.40.0200.1154.71
4.4.30.0060.0384.76
4.4.20.0130.0314.84
4.4.10.0140.0444.85
4.4.00.0050.0314.76
4.3.110.0050.0544.67
4.3.100.0050.0254.66
4.3.90.0090.0274.63
4.3.80.0090.0524.61
4.3.70.0060.0184.63
4.3.60.0040.0404.63
4.3.50.0080.0434.63
4.3.40.0110.0454.57
4.3.30.0040.0283.37
4.3.20.0040.0213.36
4.3.10.0070.0173.32
4.3.00.0030.02013.29

preferences:
51.28 ms | 401 KiB | 5 Q