3v4l.org

run code in 300+ PHP versions simultaneously
<?php print "omg"; $parts = parse_url("http://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.60.0070.00718.30
8.3.50.0100.01222.11
8.3.40.0110.01118.95
8.3.30.0070.00719.47
8.3.20.0040.00420.53
8.3.10.0050.00323.91
8.3.00.0080.00020.94
8.2.180.0090.00618.29
8.2.170.0180.00422.96
8.2.160.0100.00322.34
8.2.150.0040.00424.18
8.2.140.0050.00324.66
8.2.130.0000.00926.16
8.2.120.0050.00317.88
8.2.110.0090.00019.46
8.2.100.0120.00017.84
8.2.90.0030.00618.03
8.2.80.0080.00017.97
8.2.70.0050.00317.63
8.2.60.0050.00518.05
8.2.50.0080.00018.07
8.2.40.0110.00018.41
8.2.30.0070.00018.23
8.2.20.0080.00017.79
8.2.10.0080.00019.59
8.2.00.0000.00817.68
8.1.280.0170.00325.92
8.1.270.0050.00324.10
8.1.260.0030.00526.35
8.1.250.0070.00028.09
8.1.240.0090.00019.26
8.1.230.0000.01221.17
8.1.220.0030.00617.74
8.1.210.0000.00918.96
8.1.200.0100.00317.47
8.1.190.0060.00317.41
8.1.180.0030.00518.10
8.1.170.0060.00318.68
8.1.160.0040.00422.08
8.1.150.0040.00418.60
8.1.140.0050.00217.44
8.1.130.0000.00717.99
8.1.120.0000.00717.48
8.1.110.0040.00417.46
8.1.100.0030.00517.50
8.1.90.0000.00717.45
8.1.80.0070.00017.49
8.1.70.0040.00417.45
8.1.60.0000.00817.59
8.1.50.0050.00317.64
8.1.40.0000.00717.47
8.1.30.0040.00417.70
8.1.20.0000.00817.70
8.1.10.0000.00717.61
8.1.00.0020.00517.65
8.0.300.0050.00320.20
8.0.290.0000.00717.17
8.0.280.0040.00418.43
8.0.270.0000.00717.39
8.0.260.0100.00016.94
8.0.250.0070.00016.96
8.0.240.0000.00716.95
8.0.230.0070.00017.03
8.0.220.0000.00816.82
8.0.210.0000.00716.86
8.0.200.0080.00016.94
8.0.190.0080.00016.96
8.0.180.0100.00016.93
8.0.170.0000.00716.84
8.0.160.0070.00016.85
8.0.150.0000.00716.95
8.0.140.0000.00716.85
8.0.130.0030.00313.57
8.0.120.0040.00416.79
8.0.110.0060.00316.89
8.0.100.0000.00816.99
8.0.90.0040.00417.00
8.0.80.0070.01117.00
8.0.70.0050.00316.95
8.0.60.0020.00516.76
8.0.50.0050.00216.80
8.0.30.0120.00817.03
8.0.20.0070.01417.49
8.0.10.0000.00817.12
8.0.00.0210.01516.88
7.4.330.0060.00015.26
7.4.320.0030.00316.62
7.4.300.0060.00016.70
7.4.290.0000.00716.57
7.4.280.0000.00716.65
7.4.270.0040.00416.52
7.4.260.0000.00716.64
7.4.250.0070.00016.46
7.4.240.0060.00116.68
7.4.230.0070.00016.67
7.4.220.0030.01416.72
7.4.210.0130.00416.72
7.4.200.0000.00716.75
7.4.190.0030.00316.54
7.4.160.0110.00416.78
7.4.150.0120.00817.40
7.4.140.0150.00517.86
7.4.130.0150.00516.62
7.4.120.0150.00416.64
7.4.110.0150.00916.65
7.4.100.0030.01316.56
7.4.90.0080.00816.38
7.4.80.0040.00516.74
7.4.70.0130.00616.62
7.4.60.0080.00816.64
7.4.50.0000.00716.30
7.4.40.0100.00722.77
7.4.30.0090.00616.55
7.4.00.0110.00415.12
7.3.330.0030.00313.33
7.3.320.0000.00513.43
7.3.310.0000.00716.20
7.3.300.0000.00616.26
7.3.290.0060.01016.30
7.3.280.0080.00916.31
7.3.270.0130.00317.40
7.3.260.0190.00316.64
7.3.250.0090.00916.34
7.3.240.0060.01116.60
7.3.230.0140.00316.39
7.3.210.0090.00916.32
7.3.200.0040.01719.39
7.3.190.0070.01016.59
7.3.180.0060.01016.31
7.3.170.0060.00916.57
7.3.160.0080.00816.56
7.3.120.0040.01414.82
7.2.330.0120.00616.61
7.2.320.0110.00616.90
7.2.310.0100.00616.51
7.2.300.0100.00616.82
7.2.290.0060.01016.53
7.2.00.0060.00919.37
7.1.100.0000.01118.05
7.1.70.0060.00316.95
7.1.60.0080.00317.37
7.1.50.0030.01217.09
7.1.00.0030.07322.40
7.0.200.0030.01016.68
7.0.140.0030.07322.18
7.0.60.0230.05719.81
7.0.50.0070.04018.10
7.0.40.0000.07720.30
7.0.30.0230.05020.29
7.0.20.0230.05720.29
7.0.10.0200.07720.20
7.0.00.0070.09020.27
5.6.280.0000.07320.91
5.6.210.0030.08320.54
5.6.200.0030.09018.25
5.6.190.0100.05020.83
5.6.180.0330.05020.67
5.6.170.0230.05020.61
5.6.160.0070.04320.57
5.6.150.0030.04018.34
5.6.140.0130.05018.23
5.6.130.0100.06318.22
5.6.120.0070.08721.00
5.6.110.0030.04321.18
5.6.100.0300.06321.11
5.6.90.0070.09021.16
5.6.80.0030.06020.42
5.5.350.0230.05720.34
5.5.340.0100.04318.09
5.5.330.0030.05320.38
5.5.320.0430.05320.45
5.5.310.0270.08020.36
5.5.300.0100.05018.05
5.5.290.0030.04318.08
5.5.280.0100.05020.83
5.5.270.0030.04020.98
5.5.260.0000.07320.87
5.5.250.0100.07320.68
5.5.240.0200.07720.18
5.4.450.0400.06319.64
5.4.440.0330.07719.62
5.4.430.0300.04019.58
5.4.420.0400.06019.45
5.4.410.0370.06719.38
5.4.400.0300.07319.28
5.4.390.0370.06719.29
5.4.380.0200.04319.29
5.4.370.0330.06319.16
5.4.360.0400.05319.20
5.4.350.0270.07719.14
5.4.340.0330.07019.13
5.4.320.0200.04019.31
5.4.310.0270.03319.21
5.4.300.0200.05019.02
5.4.290.0230.04719.29
5.4.280.0100.05019.00
5.4.270.0270.03319.30
5.4.260.0270.03719.30
5.4.250.0230.04319.30
5.4.240.0200.04318.97
5.4.230.0270.03719.30
5.4.220.0300.04019.20
5.4.210.0270.03319.30
5.4.200.0300.03019.07
5.4.190.0270.03319.20
5.4.180.0270.03319.20
5.4.170.0230.05019.00
5.4.160.0270.03319.18
5.4.150.0170.04319.13
5.4.140.0230.03316.55
5.4.130.0330.02316.62
5.4.120.0270.03316.53
5.4.110.0270.03316.68
5.4.100.0270.03716.66
5.4.90.0270.04716.66
5.4.80.0200.03316.42
5.4.70.0270.06716.65
5.4.60.0230.06016.62
5.4.50.0230.04016.39
5.4.40.0230.04316.62
5.4.30.0170.03716.62
5.4.20.0300.06716.49
5.4.10.0230.04716.59
5.4.00.0270.06716.03
5.3.290.0270.04014.57
5.3.280.0200.04014.48
5.3.270.0270.03314.60
5.3.260.0230.04014.67
5.3.250.0330.04014.51
5.3.240.0300.03714.50
5.3.230.0300.03314.57
5.3.220.0270.03314.64
5.3.210.0270.03714.56
5.3.200.0300.03014.61
5.3.190.0230.03314.63
5.3.180.0200.03314.53
5.3.170.0300.06314.71
5.3.160.0230.06714.61
5.3.150.0230.06014.53
5.3.140.0330.06314.45
5.3.130.0300.04314.54
5.3.120.0270.07014.44
5.3.110.0300.06014.40
5.3.100.0300.06313.93
5.3.90.0330.06713.98
5.3.80.0330.05713.98
5.3.70.0300.06014.03
5.3.60.0270.06013.97
5.3.50.0270.04713.96
5.3.40.0370.06313.87
5.3.30.0330.05013.83
5.3.20.0230.04713.61
5.3.10.0270.07013.73
5.3.00.0330.06713.55
5.2.170.0200.06311.75
5.2.160.0230.02711.75
5.2.150.0200.05311.75
5.2.140.0300.05011.75
5.2.130.0330.05011.75
5.2.120.0300.05311.75
5.2.110.0300.03011.75
5.2.100.0300.05011.75
5.2.90.0230.03011.75
5.2.80.0300.05311.75
5.2.70.0230.03311.75
5.2.60.0330.03011.75
5.2.50.0270.03711.75
5.2.40.0200.04011.75
5.2.30.0270.03011.75
5.2.20.0170.06311.75
5.2.10.0200.04711.75
5.2.00.0200.05311.75
5.1.60.0230.04711.75
5.1.50.0270.02311.75
5.1.40.0230.04711.75
5.1.30.0200.03711.75
5.1.20.0130.03311.75
5.1.10.0200.05011.75
5.1.00.0230.04711.75
5.0.50.0100.04711.75
5.0.40.0170.03011.75
5.0.30.0100.03711.75
5.0.20.0130.02311.75
5.0.10.0130.04011.75
5.0.00.0170.04011.75
4.4.90.0070.03711.75
4.4.80.0130.03311.75
4.4.70.0130.03011.75
4.4.60.0130.03311.75
4.4.50.0130.03011.75
4.4.40.0130.03311.75
4.4.30.0100.03311.75
4.4.20.0170.01311.75
4.4.10.0130.03011.75
4.4.00.0170.02711.75
4.3.110.0070.03011.75
4.3.100.0100.01711.75
4.3.90.0170.01311.75
4.3.80.0100.02311.75
4.3.70.0030.02011.75
4.3.60.0100.02011.75
4.3.50.0170.01711.75
4.3.40.0070.02311.75
4.3.30.0030.01711.75
4.3.20.0000.02011.75
4.3.10.0100.02011.75
4.3.00.0030.03011.75

preferences:
68.75 ms | 404 KiB | 6 Q