3v4l.org

run code in 300+ PHP versions simultaneously
<?php print "omg"; $parts = parse_url("9999%00@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.70.0160.00618.55
8.3.60.0180.00018.80
8.3.50.0110.01021.95
8.3.40.0140.00319.09
8.3.30.0030.01019.29
8.3.20.0080.00020.29
8.3.10.0040.00423.78
8.3.00.0090.00020.94
8.2.180.0110.00718.78
8.2.170.0040.01422.96
8.2.160.0150.00022.38
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0080.00018.00
8.2.110.0140.00722.15
8.2.100.0070.00618.03
8.2.90.0030.00519.48
8.2.80.0030.00518.18
8.2.70.0040.00417.75
8.2.60.0090.00018.16
8.2.50.0050.00318.07
8.2.40.0000.01018.28
8.2.30.0070.00018.10
8.2.20.0000.00717.83
8.2.10.0060.00317.76
8.2.00.0080.00017.93
8.1.280.0110.01125.92
8.1.270.0000.00824.14
8.1.260.0100.00026.35
8.1.250.0040.00428.09
8.1.240.0110.01123.79
8.1.230.0060.00619.22
8.1.220.0040.00417.74
8.1.210.0090.00318.77
8.1.200.0080.00017.23
8.1.190.0080.00017.51
8.1.180.0060.00318.10
8.1.170.0060.00318.55
8.1.160.0040.00422.10
8.1.150.0000.00718.84
8.1.140.0060.00317.54
8.1.130.0000.00817.81
8.1.120.0050.00317.53
8.1.110.0030.00517.45
8.1.100.0000.00717.57
8.1.90.0070.00017.44
8.1.80.0070.00017.46
8.1.70.0070.00017.45
8.1.60.0040.00417.71
8.1.50.0000.00817.55
8.1.40.0080.00017.50
8.1.30.0030.00617.59
8.1.20.0020.00517.74
8.1.10.0040.00417.68
8.1.00.0000.00817.65
8.0.300.0040.00418.77
8.0.290.0040.00417.28
8.0.280.0000.00718.65
8.0.270.0000.00717.26
8.0.260.0040.00417.05
8.0.250.0030.00317.07
8.0.240.0040.00417.10
8.0.230.0030.00316.97
8.0.220.0050.00216.95
8.0.210.0070.00016.99
8.0.200.0060.00017.04
8.0.190.0040.00417.07
8.0.180.0070.00017.04
8.0.170.0040.00417.04
8.0.160.0040.00417.07
8.0.150.0040.00417.00
8.0.140.0050.00216.82
8.0.130.0030.00313.47
8.0.120.0040.00417.00
8.0.110.0050.00217.03
8.0.100.0040.00417.09
8.0.90.0070.00017.15
8.0.80.0080.01517.17
8.0.70.0030.00517.07
8.0.60.0050.00316.93
8.0.50.0070.00016.95
8.0.30.0100.01017.42
8.0.20.0170.01117.40
8.0.10.0000.00817.36
8.0.00.0110.00917.03
7.4.330.0050.00015.32
7.4.320.0040.00416.63
7.4.300.0040.00416.61
7.4.290.0070.00416.46
7.4.280.0070.00016.40
7.4.270.0030.00316.62
7.4.260.0000.00716.48
7.4.250.0040.00416.60
7.4.240.0050.00316.66
7.4.230.0000.00716.64
7.4.220.0090.01816.79
7.4.210.0130.00616.74
7.4.200.0000.00716.79
7.4.190.0000.00716.48
7.4.160.0090.00616.68
7.4.150.0130.00517.40
7.4.140.0080.01017.86
7.4.130.0070.01116.83
7.4.120.0090.01116.69
7.4.110.0100.00716.75
7.4.100.0210.00316.87
7.4.90.0170.00716.55
7.4.80.0140.00416.95
7.4.70.0030.01816.63
7.4.60.0090.00916.78
7.4.50.0020.00216.56
7.4.40.0040.00722.77
7.4.30.0020.01716.58
7.4.00.0150.00415.02
7.3.330.0050.00013.23
7.3.320.0060.00013.20
7.3.310.0000.00716.60
7.3.300.0030.00316.45
7.3.290.0120.00316.53
7.3.280.0090.00716.44
7.3.270.0100.00717.40
7.3.260.0090.01816.56
7.3.250.0090.01316.61
7.3.240.0150.00316.81
7.3.230.0130.00316.76
7.3.210.0170.00716.89
7.3.200.0130.00919.39
7.3.190.0150.00616.74
7.3.180.0070.01116.57
7.3.170.0090.00916.63
7.3.160.0080.00816.59
7.3.120.0060.01014.96
7.2.330.0030.01516.45
7.2.320.0180.00016.74
7.2.310.0030.01516.96
7.2.300.0110.01116.66
7.2.290.0180.00016.86
7.2.00.0040.00819.71
7.1.100.0000.01118.02
7.1.70.0000.00917.26
7.1.60.0160.01019.32
7.1.50.0030.01317.17
7.1.00.0070.07322.67
7.0.200.0070.00317.07
7.0.140.0000.07322.39
7.0.60.0170.08020.11
7.0.50.0070.05018.23
7.0.40.0000.05320.40
7.0.30.0370.05020.39
7.0.20.0300.04720.46
7.0.10.0300.07020.56
7.0.00.0170.08020.43
5.6.280.0070.07021.24
5.6.210.0100.05721.02
5.6.200.0100.08318.51
5.6.190.0070.04021.05
5.6.180.0030.07020.97
5.6.170.0200.04720.88
5.6.160.0070.07320.81
5.6.150.0100.06018.54
5.6.140.0100.07318.44
5.6.130.0000.05718.53
5.6.120.0070.05021.32
5.6.110.0170.07321.21
5.6.100.0170.07321.24
5.6.90.0100.08321.41
5.6.80.0000.08320.64
5.6.70.4100.04320.59
5.5.350.0070.07320.58
5.5.340.0100.08018.34
5.5.330.0030.05020.81
5.5.320.0070.05320.66
5.5.310.0370.07320.65
5.5.300.0070.03718.28
5.5.290.0030.06018.27
5.5.280.0100.08021.01
5.5.270.0100.06321.04
5.5.260.0200.06021.21
5.5.250.0030.04721.04
5.5.240.0070.07320.51
5.4.450.0330.04019.70
5.4.440.0500.04319.48
5.4.430.0730.07319.69
5.4.420.0730.03719.80
5.4.410.0570.05019.45
5.4.400.0330.05319.01
5.4.390.0230.05318.71
5.4.380.0730.05718.70
5.4.370.0230.05718.71
5.4.360.0100.05718.65
5.4.350.0230.05018.65
5.4.340.0300.05318.93
5.4.320.0050.04812.66
5.4.310.0070.04612.65
5.4.300.0070.03612.65
5.4.290.0050.04012.65
5.4.280.0090.04912.53
5.4.270.0090.05312.54
5.4.260.0110.05412.53
5.4.250.0100.05512.53
5.4.240.0080.05712.54
5.4.230.0100.05812.52
5.4.220.0100.05612.52
5.4.210.0090.05412.52
5.4.200.0090.05712.52
5.4.190.0090.05712.52
5.4.180.0150.05112.52
5.4.170.0100.05612.53
5.4.160.0100.05312.53
5.4.150.0120.05212.53
5.4.140.0080.05912.21
5.4.130.0110.05212.20
5.4.120.0060.06012.15
5.4.110.0120.05112.15
5.4.100.0030.05512.15
5.4.90.0080.05512.15
5.4.80.0040.05612.15
5.4.70.0100.04812.15
5.4.60.0090.04912.14
5.4.50.0110.05512.14
5.4.40.0090.04912.13
5.4.30.0080.04812.13
5.4.20.0100.04912.12
5.4.10.0100.04812.13
5.4.00.0150.06111.62
5.3.290.0100.04412.85
5.3.280.0090.05012.78
5.3.270.0100.05112.78
5.3.260.0110.05012.79
5.3.250.0080.05212.79
5.3.240.0120.04912.78
5.3.230.0070.05712.77
5.3.220.0080.05612.75
5.3.210.0030.06212.75
5.3.200.0080.05612.75
5.3.190.0080.05412.75
5.3.180.0060.05512.74
5.3.170.0060.05512.75
5.3.160.0120.05012.74
5.3.150.0100.05412.74
5.3.140.0080.05312.73
5.3.130.0060.05712.73
5.3.120.0060.05612.73
5.3.110.0060.05812.72
5.3.100.0080.05312.21
5.3.90.0080.05312.20
5.3.80.0080.04912.19
5.3.70.0070.05312.19
5.3.60.0120.05012.18
5.3.50.0080.05412.12
5.3.40.0090.05312.12
5.3.30.0130.04912.08
5.3.20.0070.05311.86
5.3.10.0090.05211.83
5.3.00.0070.05311.81
5.2.170.0070.0449.31
5.2.160.0080.0439.31
5.2.150.0100.0479.31
5.2.140.0090.0429.30
5.2.130.0070.0439.27
5.2.120.0050.0459.27
5.2.110.0060.0439.27
5.2.100.0060.0439.27
5.2.90.0130.0699.27
5.2.80.0090.0429.27
5.2.70.0070.0459.27
5.2.60.0070.0459.22
5.2.50.0070.0449.19
5.2.40.0060.0429.17
5.2.30.0060.0449.14
5.2.20.0040.0439.13
5.2.10.0050.0429.03
5.2.00.0060.0428.89
5.1.60.0080.0338.16
5.1.50.0190.0558.17
5.1.40.0180.0698.15
5.1.30.0060.0408.50
5.1.20.0090.0348.52
5.1.10.0190.0688.25
5.1.00.0100.0318.25
5.0.50.0080.0286.73
5.0.40.0080.0286.59
5.0.30.0080.0446.39
5.0.20.0060.0296.37
5.0.10.0050.0296.35
5.0.00.0050.0426.34
4.4.90.0040.0244.78
4.4.80.0020.0304.75
4.4.70.0050.0234.76
4.4.60.0150.0494.75
4.4.50.0080.0364.77
4.4.40.0040.0384.71
4.4.30.0080.0194.76
4.4.20.0040.0254.84
4.4.10.0040.0244.85
4.4.00.0040.0374.76
4.3.110.0060.0464.67
4.3.100.0080.0224.67
4.3.90.0050.0234.63
4.3.80.0040.0374.62
4.3.70.0050.0234.63
4.3.60.0030.0254.63
4.3.50.0040.0264.63
4.3.40.0050.0374.57
4.3.30.0040.0253.38
4.3.20.0040.0233.36
4.3.10.0030.0253.32
4.3.00.0070.01315.45

preferences:
54 ms | 401 KiB | 5 Q