3v4l.org

run code in 300+ PHP versions simultaneously
<?php print "omg"; $parts = parse_url("http://9999/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.01118.68
8.3.50.0100.00521.97
8.3.40.0100.00719.14
8.3.30.0080.00619.32
8.3.20.0080.00020.51
8.3.10.0040.00423.95
8.3.00.0080.00020.91
8.2.180.0110.00416.88
8.2.170.0120.00922.96
8.2.160.0070.00722.27
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0070.00026.16
8.2.120.0040.00417.88
8.2.110.0030.00619.26
8.2.100.0040.00818.41
8.2.90.0040.00419.46
8.2.80.0040.00417.97
8.2.70.0060.00317.88
8.2.60.0040.00418.17
8.2.50.0070.00019.41
8.2.40.0080.00020.71
8.2.30.0000.00821.23
8.2.20.0040.00417.86
8.2.10.0040.00417.78
8.2.00.0040.00417.87
8.1.280.0090.00925.92
8.1.270.0040.00424.09
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0060.00322.65
8.1.230.0080.00320.46
8.1.220.0030.00617.78
8.1.210.0040.00418.77
8.1.200.0060.00617.35
8.1.190.0060.00317.35
8.1.180.0000.00818.10
8.1.170.0040.00418.59
8.1.160.0080.00018.95
8.1.150.0050.00320.25
8.1.140.0000.00817.39
8.1.130.0080.00017.89
8.1.120.0040.00417.43
8.1.110.0080.00017.42
8.1.100.0030.00617.50
8.1.90.0000.00717.55
8.1.80.0000.00717.45
8.1.70.0000.00717.48
8.1.60.0060.00317.57
8.1.50.0040.00417.42
8.1.40.0000.00717.58
8.1.30.0040.00417.57
8.1.20.0050.00217.64
8.1.10.0040.00417.62
8.1.00.0050.00317.68
8.0.300.0050.00318.77
8.0.290.0040.00416.75
8.0.280.0000.00718.50
8.0.270.0030.00317.31
8.0.260.0050.00516.86
8.0.250.0030.00316.89
8.0.240.0000.00816.90
8.0.230.0040.00416.94
8.0.220.0090.00016.88
8.0.210.0040.00416.97
8.0.200.0090.00016.90
8.0.190.0040.00416.80
8.0.180.0000.00716.91
8.0.170.0000.00816.96
8.0.160.0000.00816.94
8.0.150.0040.00416.87
8.0.140.0040.00316.93
8.0.130.0050.00013.48
8.0.120.0000.00816.80
8.0.110.0040.00416.89
8.0.100.0040.00416.75
8.0.90.0040.00416.70
8.0.80.0000.01416.97
8.0.70.0000.00816.84
8.0.60.0000.00716.79
8.0.50.0050.00217.02
8.0.30.0160.00617.06
8.0.20.0130.01017.48
8.0.10.0040.00417.17
8.0.00.0150.00616.92
7.4.330.0050.00015.34
7.4.320.0000.00616.52
7.4.300.0000.00716.57
7.4.290.0030.00316.57
7.4.280.0030.00316.67
7.4.270.0030.00316.67
7.4.260.0030.00316.67
7.4.250.0040.00416.37
7.4.240.0020.00516.61
7.4.230.0000.00716.67
7.4.220.0060.00916.75
7.4.210.0070.00916.67
7.4.200.0000.00716.50
7.4.190.0050.00216.55
7.4.160.0080.00816.67
7.4.150.0080.01217.40
7.4.140.0080.01317.86
7.4.130.0120.00816.61
7.4.120.0070.00916.50
7.4.110.0170.00716.52
7.4.100.0100.00716.68
7.4.90.0170.00016.30
7.4.80.0140.00416.64
7.4.70.0130.00316.61
7.4.60.0030.01316.47
7.4.50.0000.00816.38
7.4.40.0070.00722.77
7.4.30.0070.01016.53
7.4.00.0080.00514.96
7.3.330.0060.00013.21
7.3.320.0000.00513.14
7.3.310.0050.00316.20
7.3.300.0070.00016.29
7.3.290.0040.01116.29
7.3.280.0100.01116.38
7.3.270.0040.01517.40
7.3.260.0130.00716.47
7.3.250.0070.01516.51
7.3.240.0090.00916.42
7.3.230.0070.01016.47
7.3.210.0090.00916.52
7.3.200.0060.01219.39
7.3.190.0080.00816.30
7.3.180.0060.00916.66
7.3.170.0060.00916.44
7.3.160.0130.00316.44
7.3.120.0030.01414.91
7.3.110.0140.00014.75
7.3.100.0040.01215.07
7.3.90.0110.00414.58
7.3.80.0110.00714.77
7.3.70.0040.00814.99
7.3.60.0030.01014.93
7.3.50.0060.00914.93
7.3.40.0080.00414.65
7.3.30.0030.00714.72
7.3.20.0040.01116.68
7.3.10.0030.01316.71
7.3.00.0050.00516.85
7.2.330.0130.00516.84
7.2.320.0130.01016.41
7.2.310.0190.00416.60
7.2.300.0120.00316.40
7.2.290.0140.00316.41
7.2.250.0090.00615.17
7.2.240.0070.01415.36
7.2.230.0100.00614.96
7.2.220.0070.00714.84
7.2.210.0040.01415.15
7.2.200.0060.00615.05
7.2.190.0090.00615.23
7.2.180.0070.00714.66
7.2.170.0070.01014.96
7.2.00.0030.00919.54
7.1.330.0070.00716.07
7.1.320.0060.00615.88
7.1.310.0040.01115.46
7.1.300.0120.00315.87
7.1.290.0080.00615.67
7.1.280.0090.00615.60
7.1.270.0000.01615.85
7.1.260.0140.00015.91
7.1.100.0030.01018.37
7.1.70.0030.00517.29
7.1.60.0090.00317.12
7.1.50.0030.00716.75
7.1.40.0030.00716.88
7.1.30.0040.00816.95
7.1.20.0000.01117.06
7.1.10.0000.01016.59
7.1.00.0030.00516.66
7.0.200.0020.00516.92
7.0.190.0040.00416.69
7.0.180.0020.00516.14
7.0.170.0030.00616.39
7.0.160.0040.00416.21
7.0.150.0050.00316.25
7.0.140.0000.00916.25
7.0.130.0020.00516.56
7.0.120.0040.00416.50
7.0.110.0050.00216.13
7.0.100.0000.00716.18
7.0.90.0000.00716.28
7.0.80.0000.00716.47
7.0.70.0000.00716.28
7.0.60.0000.00716.28
7.0.50.0000.00716.32
7.0.40.0000.00715.38
7.0.30.0000.00915.38
7.0.20.0000.00715.38
7.0.10.0030.00615.38
7.0.00.0040.00415.38
5.6.300.0030.04120.84
5.6.290.0100.03821.09
5.6.280.0070.03621.09
5.6.270.0030.04021.07
5.6.260.0000.04421.10
5.6.250.0030.04320.80
5.6.240.0070.03920.88
5.6.230.0070.03920.89
5.6.220.0000.04620.81
5.6.210.0000.04521.05
5.6.200.0070.03720.80
5.6.190.0100.03621.02
5.6.180.0030.04021.05
5.6.170.0040.03920.89
5.6.160.0030.04020.89
5.6.150.0070.03921.02
5.6.140.0030.04021.05
5.6.130.0030.04420.84
5.6.120.0000.04820.84
5.6.110.0000.04721.07
5.6.100.0270.03420.88
5.6.90.0030.04820.82
5.6.80.0070.03720.25
5.6.70.0100.03720.33
5.6.60.0070.04020.23
5.6.50.0030.04120.40
5.6.40.0030.04320.48
5.6.30.0030.04020.13
5.6.20.0000.04720.20
5.6.10.0070.03420.20
5.6.00.0030.04120.41
5.5.380.0000.04117.57
5.5.370.0030.04017.56
5.5.360.0030.03917.58
5.5.350.0000.04817.64
5.5.340.0000.04818.16
5.5.330.0070.03918.16
5.5.320.0000.04518.27
5.5.310.0000.04818.16
5.5.300.0070.04418.16
5.5.290.0000.05418.25
5.5.280.0030.04018.13
5.5.270.0030.04418.15
5.5.260.0070.04317.80
5.5.250.0030.03917.74
5.5.240.0000.05217.35
5.5.230.0000.04517.54
5.5.220.0000.04217.51
5.5.210.0030.04017.52
5.5.200.0000.04217.60
5.5.190.0100.03917.53
5.5.180.0000.04317.26
5.5.160.0000.04417.59
5.5.150.0060.04217.50
5.5.140.0030.03817.51
5.5.130.0070.04017.52
5.5.120.0030.03617.51
5.5.110.0000.06317.53
5.5.100.0000.05017.19
5.5.90.0000.04417.32
5.5.80.0060.03417.49
5.5.70.0070.03717.48
5.5.60.0040.03617.05
5.5.50.0060.03517.41
5.5.40.0030.03817.37
5.5.30.0030.03517.19
5.5.20.0040.03617.05
5.5.10.0100.04517.37
5.5.00.0030.05217.39
5.4.450.0070.04219.46
5.4.440.0030.03819.50
5.4.430.0060.04219.46
5.4.420.0100.03219.37
5.4.410.0030.05719.34
5.4.400.0030.03718.96
5.4.390.0030.05919.36
5.4.380.0070.04419.15
5.4.370.0070.03719.33
5.4.360.0030.04219.05
5.4.350.0000.03918.96
5.4.340.0030.04119.24
5.4.320.0030.03819.27
5.4.310.0060.04119.23
5.4.300.0000.04219.33
5.4.290.0000.04319.14
5.4.280.0030.03719.10
5.4.270.0030.03719.13
5.4.260.0030.04319.13
5.4.250.0030.03719.19
5.4.240.0030.03719.04
5.4.230.0030.03819.13
5.4.220.0100.03219.07
5.4.210.0070.03319.32
5.4.200.0030.03619.13
5.4.190.0060.04419.13
5.4.180.0030.05219.23
5.4.170.0030.03819.14
5.4.160.0000.04219.05
5.4.150.0000.04118.95
5.4.140.0030.06916.86
5.4.130.0000.04016.69
5.4.120.0060.03116.62
5.4.110.0000.04516.80
5.4.100.0130.03216.71
5.4.90.0070.04816.81
5.4.80.0030.03716.93
5.4.70.0060.03116.87
5.4.60.0070.03016.59
5.4.50.0000.03916.78
5.4.40.0030.03816.50
5.4.30.0030.03716.75
5.4.20.0030.04416.89
5.4.10.0000.04016.74
5.3.290.0030.06215.38
5.3.280.0210.02815.38
5.3.270.0060.03915.38
5.3.260.0000.04715.38
5.3.250.0060.03215.38
5.3.240.0000.04415.38
5.3.230.0030.03615.38
5.3.220.0070.03815.38
5.3.210.0030.04015.38
5.3.200.0030.03615.38
5.3.190.0000.04415.38
5.3.180.0070.03315.38
5.3.170.0090.03215.38
5.3.160.0030.03715.38
5.3.150.0000.04415.38
5.3.140.0070.04115.38
5.3.130.0000.03915.38
5.3.120.0000.04315.38
5.3.110.0030.04015.38
5.0.40.0030.02015.38
5.0.30.0000.03315.38
5.0.20.0030.02015.38
5.0.10.0100.01615.38
5.0.00.0030.03215.38
4.3.110.0030.01315.38
4.3.100.0030.01415.38
4.3.90.0000.01615.38
4.3.80.0000.02815.38
4.3.70.0000.01715.38
4.3.60.0030.01315.38
4.3.50.0000.01715.38
4.3.40.0000.02615.38
4.3.30.0000.01715.38
4.3.20.0000.01815.38
4.3.10.0030.01315.38
4.3.00.0000.01615.38

preferences:
57.58 ms | 401 KiB | 5 Q