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.40.0150.00618.72
8.3.30.0150.00019.34
8.3.20.0030.00520.50
8.3.10.0080.00023.73
8.3.00.0040.00420.95
8.2.170.0120.00922.96
8.2.160.0110.00422.39
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0050.00326.16
8.2.120.0040.00417.75
8.2.110.0060.00319.50
8.2.100.0080.00417.78
8.2.90.0000.00819.38
8.2.80.0030.00617.97
8.2.70.0060.00317.75
8.2.60.0080.00018.01
8.2.50.0040.00418.07
8.2.40.0060.00318.15
8.2.30.0070.00018.16
8.2.20.0040.00417.79
8.2.10.0050.00317.82
8.2.00.0090.00017.77
8.1.270.0130.00624.00
8.1.260.0060.00326.35
8.1.250.0000.00828.09
8.1.240.0090.01322.14
8.1.230.0110.00019.01
8.1.220.0030.00617.88
8.1.210.0080.00018.77
8.1.200.0090.00017.35
8.1.190.0040.00717.25
8.1.180.0000.00918.10
8.1.170.0030.00618.46
8.1.160.0040.00422.10
8.1.150.0050.00318.75
8.1.140.0040.00417.57
8.1.130.0000.00717.96
8.1.120.0030.00317.44
8.1.110.0090.00017.46
8.1.100.0000.00717.47
8.1.90.0060.00317.53
8.1.80.0030.00417.50
8.1.70.0050.00217.40
8.1.60.0090.00017.62
8.1.50.0050.00517.48
8.1.40.0080.00017.59
8.1.30.0030.00517.67
8.1.20.0030.00517.62
8.1.10.0040.00417.55
8.1.00.0000.00817.58
8.0.300.0040.00420.25
8.0.290.0070.00316.75
8.0.280.0000.00718.45
8.0.270.0020.00517.39
8.0.260.0050.00216.96
8.0.250.0070.00017.01
8.0.240.0000.00817.01
8.0.230.0040.00416.86
8.0.220.0070.00016.88
8.0.210.0080.00016.84
8.0.200.0000.00617.02
8.0.190.0000.00717.06
8.0.180.0000.00817.02
8.0.170.0030.00516.99
8.0.160.0050.00317.09
8.0.150.0000.00716.88
8.0.140.0040.00416.95
8.0.130.0050.00013.41
8.0.120.0040.00417.02
8.0.110.0080.00017.03
8.0.100.0040.00416.93
8.0.90.0070.00016.91
8.0.80.0120.00817.03
8.0.70.0060.00317.02
8.0.60.0040.00417.15
8.0.50.0000.00917.08
8.0.30.0110.01317.29
8.0.20.0120.00917.40
8.0.10.0020.00517.01
8.0.00.0080.01317.08
7.4.330.0000.00515.22
7.4.320.0030.00316.64
7.4.300.0030.00316.56
7.4.290.0000.00716.49
7.4.280.0080.00016.61
7.4.270.0030.00316.50
7.4.260.0000.00716.70
7.4.250.0050.00216.64
7.4.240.0040.00416.65
7.4.230.0040.00416.56
7.4.220.0140.00516.63
7.4.210.0090.00816.61
7.4.200.0040.00416.50
7.4.190.0040.00416.66
7.4.160.0100.00716.76
7.4.150.0110.00717.40
7.4.140.0110.01117.86
7.4.130.0090.00916.71
7.4.120.0080.00916.67
7.4.110.0090.00916.59
7.4.100.0170.00016.96
7.4.90.0090.01116.55
7.4.80.0120.01216.55
7.4.70.0030.01316.57
7.4.60.0150.00816.43
7.4.50.0060.00316.68
7.4.40.0070.01122.77
7.4.30.0060.01116.55
7.4.00.0110.00714.85
7.3.330.0030.00313.21
7.3.320.0050.00013.29
7.3.310.0040.00416.45
7.3.300.0000.00716.36
7.3.290.0090.00616.47
7.3.280.0090.01216.41
7.3.270.0130.00417.40
7.3.260.0190.00416.49
7.3.250.0120.00716.69
7.3.240.0120.00616.75
7.3.230.0030.01416.39
7.3.210.0060.01916.59
7.3.200.0040.01519.39
7.3.190.0060.01316.69
7.3.180.0070.01016.43
7.3.170.0100.00716.61
7.3.160.0070.01016.59
7.3.120.0090.00914.61
7.3.110.0110.00714.73
7.3.100.0060.00614.96
7.3.90.0150.00015.05
7.3.80.0060.00915.11
7.3.70.0000.01114.90
7.3.60.0110.00414.82
7.3.50.0060.00614.99
7.3.40.0070.00314.70
7.3.30.0060.01014.70
7.3.20.0040.00716.91
7.3.10.0070.01116.67
7.3.00.0070.01116.81
7.2.330.0040.01416.70
7.2.320.0070.01416.91
7.2.310.0040.01516.56
7.2.300.0140.00416.62
7.2.290.0090.00816.59
7.2.240.0040.00815.12
7.2.230.0100.00615.41
7.2.220.0030.01414.73
7.2.210.0070.01015.12
7.2.200.0070.01015.09
7.2.190.0070.01015.25
7.2.180.0030.01215.21
7.2.170.0000.01915.08
7.2.160.0060.00915.04
7.2.150.0090.00616.80
7.2.140.0070.00416.94
7.2.130.0070.00816.91
7.2.120.0060.00916.84
7.2.110.0000.01717.12
7.2.100.0040.01116.93
7.2.90.0140.00416.95
7.2.80.0060.00917.09
7.2.70.0070.01016.70
7.2.60.0140.00316.96
7.2.50.0030.01316.82
7.2.40.0030.01317.06
7.2.30.0060.00616.90
7.2.20.0070.01016.98
7.2.10.0120.00316.99
7.2.00.0040.01116.91
7.1.330.0070.00715.89
7.1.320.0030.00916.05
7.1.310.0070.00716.04
7.1.300.0100.00615.69
7.1.290.0100.00616.07
7.1.280.0080.00815.98
7.1.270.0100.00715.79
7.1.260.0000.01615.98
7.1.250.0060.00915.75
7.1.70.0030.01017.48
7.1.60.0100.00719.32
7.1.50.0190.01034.89
7.1.00.0070.07322.64
7.0.200.2960.00714.86
7.0.140.0000.07722.55
7.0.60.0070.08320.38
7.0.50.0000.05318.04
7.0.40.0100.05720.50
7.0.30.0370.07720.44
7.0.20.0200.07720.46
7.0.10.0170.04020.46
7.0.00.0070.04720.54
5.6.280.0070.07321.36
5.6.210.0100.07720.71
5.6.200.0000.04718.41
5.6.190.0100.08320.77
5.6.180.0470.07720.98
5.6.170.0230.03720.73
5.6.160.0030.07020.78
5.6.150.0030.04318.40
5.6.140.0030.08318.52
5.6.130.0100.08718.50
5.6.120.0000.06721.46
5.6.110.0200.07321.24
5.6.100.0000.07021.44
5.6.90.0170.07721.38
5.6.80.0130.05320.80
5.6.70.1730.06320.75
5.5.350.0030.04020.62
5.5.340.0070.04318.32
5.5.330.0030.05020.71
5.5.320.0030.04020.43
5.5.310.0300.04020.75
5.5.300.0030.06718.21
5.5.290.0070.08318.23
5.5.280.0200.05321.16
5.5.270.0200.07021.15
5.5.260.0030.06721.16
5.5.250.0100.08320.98
5.5.240.0000.04720.36
5.4.450.0800.04019.54
5.4.440.1270.04719.42
5.4.430.0230.04019.55
5.4.420.0530.03719.70
5.4.410.0430.04719.41
5.4.400.0530.06718.98
5.4.390.0400.05718.85
5.4.380.0300.04018.73
5.4.370.0170.07018.73
5.4.360.0100.05318.90
5.4.350.0170.05018.77
5.4.340.0130.05018.90
5.4.320.0060.03812.63
5.4.310.0100.04612.63
5.4.300.0040.04212.63
5.4.290.0060.03812.63
5.4.280.0100.03812.50
5.4.270.0040.04112.50
5.4.260.0070.03612.51
5.4.250.0060.04112.50
5.4.240.0080.04012.50
5.4.230.0110.03612.50
5.4.220.0100.06412.50
5.4.210.0120.06412.50
5.4.200.0140.04112.50
5.4.190.0080.04512.50
5.4.180.0120.04312.49
5.4.170.0070.04212.50
5.4.160.0100.03612.50
5.4.150.0060.04312.50
5.4.140.0060.05412.18
5.4.130.0080.04112.17
5.4.120.0090.03712.13
5.4.110.0070.03812.13
5.4.100.0070.03412.12
5.4.90.0040.03912.13
5.4.80.0070.03612.13
5.4.70.0050.03612.13
5.4.60.0050.03512.12
5.4.50.0050.03712.11
5.4.40.0050.03812.11
5.4.30.0070.03912.10
5.4.20.0040.03912.10
5.4.10.0050.03712.10
5.4.00.0090.03311.59
5.3.290.0070.04512.83
5.3.280.0030.04112.75
5.3.270.0050.04112.75
5.3.260.0100.05312.76
5.3.250.0080.03912.76
5.3.240.0090.04012.76
5.3.230.0090.04112.75
5.3.220.0050.04412.72
5.3.210.0050.04212.72
5.3.200.0060.03712.72
5.3.190.0040.04412.72
5.3.180.0060.03812.72
5.3.170.0050.03812.71
5.3.160.0070.05312.72
5.3.150.0100.04412.71
5.3.140.0080.04012.71
5.3.130.0100.04712.70
5.3.120.0100.03912.70
5.3.110.0070.04812.70
5.3.100.0060.03812.19
5.3.90.0040.03912.17
5.3.80.0070.03612.17
5.3.70.0090.04412.17
5.3.60.0060.03712.15
5.3.50.0090.03412.09
5.3.40.0060.03612.09
5.3.30.0060.03712.06
5.3.20.0050.04111.84
5.3.10.0050.03511.80
5.3.00.0070.03511.79
5.2.170.0040.0319.29
5.2.160.0060.0289.29
5.2.150.0050.0359.28
5.2.140.0070.0319.28
5.2.130.0040.0299.24
5.2.120.0030.0319.25
5.2.110.0070.0329.25
5.2.100.0070.0409.25
5.2.90.0080.0399.25
5.2.80.0080.0279.25
5.2.70.0020.0329.25
5.2.60.0040.0309.20
5.2.50.0020.0329.16
5.2.40.0060.0299.14
5.2.30.0050.0309.12
5.2.20.0070.0279.11
5.2.10.0040.0319.03
5.2.00.0050.0338.89
5.1.60.0030.0258.16
5.1.50.0040.0258.16
5.1.40.0050.0248.15
5.1.30.0050.0288.50
5.1.20.0050.0298.52
5.1.10.0080.0268.24
5.1.00.0020.0288.25
5.0.50.0050.0236.72
5.0.40.0020.0226.59
5.0.30.0040.0316.39
5.0.20.0040.0196.37
5.0.10.0030.0206.34
5.0.00.0030.0316.34
4.4.90.0060.0224.78
4.4.80.0050.0204.76
4.4.70.0020.0184.76
4.4.60.0030.0184.76
4.4.50.0050.0174.77
4.4.40.0020.0314.71
4.4.30.0040.0174.76
4.4.20.0030.0174.84
4.4.10.0040.0184.85
4.4.00.0060.0224.76
4.3.110.0040.0154.67
4.3.100.0020.0164.67
4.3.90.0030.0144.63
4.3.80.0060.0234.62
4.3.70.0010.0174.63
4.3.60.0030.0144.63
4.3.50.0040.0144.63
4.3.40.0030.0244.57
4.3.30.0020.0163.38
4.3.20.0030.0183.36
4.3.10.0030.0203.32
4.3.00.0100.01715.44

preferences:
32.77 ms | 400 KiB | 5 Q