3v4l.org

run code in 300+ PHP versions simultaneously
<?php print "omg"; $parts = parse_url("http://9999%000xADC27040/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.0080.01118.80
8.3.50.0100.01121.95
8.3.40.0070.00718.86
8.3.30.0040.01119.29
8.3.20.0030.00520.50
8.3.10.0040.00423.73
8.3.00.0080.00022.77
8.2.180.0110.00416.63
8.2.170.0060.00922.96
8.2.160.0100.01022.23
8.2.150.0050.00324.18
8.2.140.0080.00024.66
8.2.130.0000.00726.16
8.2.120.0080.00019.25
8.2.110.0070.00322.40
8.2.100.0060.00617.80
8.2.90.0040.00419.36
8.2.80.0000.00818.16
8.2.70.0070.00317.50
8.2.60.0040.00418.30
8.2.50.0040.00418.07
8.2.40.0000.00818.41
8.2.30.0040.00418.08
8.2.20.0040.00417.75
8.2.10.0080.00017.75
8.2.00.0040.00417.82
8.1.280.0140.00025.92
8.1.270.0000.00822.22
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0060.00324.09
8.1.230.0080.00419.35
8.1.220.0030.00617.78
8.1.210.0030.00618.77
8.1.200.0030.00617.48
8.1.190.0000.00817.53
8.1.180.0040.00418.10
8.1.170.0060.00318.45
8.1.160.0000.00822.00
8.1.150.0000.00718.61
8.1.140.0040.00417.53
8.1.130.0000.00817.84
8.1.120.0000.00717.53
8.1.110.0040.00417.54
8.1.100.0000.00817.44
8.1.90.0040.00417.53
8.1.80.0000.00717.50
8.1.70.0030.00317.52
8.1.60.0060.00317.65
8.1.50.0030.00517.63
8.1.40.0040.00417.54
8.1.30.0000.00917.68
8.1.20.0040.00417.63
8.1.10.0000.00717.60
8.1.00.0040.00417.51
8.0.300.0040.00418.77
8.0.290.0000.00717.28
8.0.280.0000.00718.56
8.0.270.0000.00717.39
8.0.260.0000.00816.95
8.0.250.0040.00417.08
8.0.240.0080.00017.06
8.0.230.0030.00317.01
8.0.220.0000.00916.84
8.0.210.0030.00516.88
8.0.200.0000.00716.96
8.0.190.0040.00416.89
8.0.180.0000.00817.03
8.0.170.0040.00416.95
8.0.160.0040.00416.83
8.0.150.0040.00416.89
8.0.140.0040.00416.81
8.0.130.0040.00413.53
8.0.120.0040.00416.99
8.0.110.0040.00417.02
8.0.100.0000.00717.00
8.0.90.0040.00416.93
8.0.80.0090.01317.05
8.0.70.0080.00017.02
8.0.60.0000.00716.87
8.0.50.0000.00816.98
8.0.30.0080.01117.45
8.0.20.0110.00917.40
8.0.10.0080.00017.02
8.0.00.0090.01116.94
7.4.330.0020.00215.33
7.4.320.0000.00716.72
7.4.300.0060.00016.59
7.4.290.0070.00016.52
7.4.280.0000.00716.47
7.4.270.0030.00316.53
7.4.260.0000.00816.67
7.4.250.0000.00716.73
7.4.240.0050.00316.64
7.4.230.0000.00716.59
7.4.220.0040.01216.71
7.4.210.0080.01016.68
7.4.200.0000.00816.78
7.4.190.0030.00316.54
7.4.160.0060.01216.94
7.4.150.0130.01317.40
7.4.140.0140.00517.86
7.4.130.0110.00616.55
7.4.120.0060.01416.58
7.4.110.0070.01116.55
7.4.100.0070.01316.48
7.4.90.0070.01116.53
7.4.80.0120.00616.92
7.4.70.0060.01316.75
7.4.60.0100.00616.79
7.4.50.0000.00816.69
7.4.40.0060.01022.77
7.4.30.0030.01316.39
7.4.00.0090.00915.14
7.3.330.0000.00613.25
7.3.320.0020.00213.26
7.3.310.0050.00216.32
7.3.300.0070.00016.33
7.3.290.0160.00316.46
7.3.280.0080.01316.34
7.3.270.0130.00417.40
7.3.260.0110.00816.58
7.3.250.0090.01116.71
7.3.240.0120.01116.62
7.3.230.0100.00716.56
7.3.210.0060.01316.25
7.3.200.0120.00919.39
7.3.190.0120.00916.66
7.3.180.0060.00916.54
7.3.170.0100.00716.61
7.3.160.0110.00616.61
7.3.120.0080.00915.09
7.3.110.0070.01215.00
7.3.100.0090.00914.85
7.3.90.0030.01015.06
7.3.80.0030.01014.92
7.3.70.0050.01114.70
7.3.60.0060.00815.04
7.3.50.0050.01214.90
7.3.40.0060.00614.83
7.3.30.0100.00614.96
7.3.20.0110.00516.65
7.3.10.0060.00916.83
7.3.00.0080.00616.63
7.2.330.0180.00316.45
7.2.320.0140.00316.64
7.2.310.0140.01316.70
7.2.300.0060.01216.48
7.2.290.0110.00616.71
7.2.250.0070.00915.17
7.2.240.0080.01015.17
7.2.230.0100.00514.77
7.2.220.0030.00815.18
7.2.210.0060.00815.00
7.2.200.0060.01215.11
7.2.190.0080.00615.16
7.2.180.0090.00615.04
7.2.170.0060.00615.23
7.2.130.0040.00817.03
7.2.120.0040.00416.92
7.2.110.0030.00817.05
7.2.100.0070.00717.12
7.2.90.0030.01016.84
7.2.80.0040.00716.71
7.2.70.0070.00716.99
7.2.60.0090.00717.17
7.2.50.0070.00717.19
7.2.40.0040.01217.20
7.2.30.0100.00717.11
7.2.20.0040.00716.86
7.2.10.0030.01316.89
7.2.00.0060.00618.17
7.1.330.0130.00515.99
7.1.320.0070.00516.02
7.1.310.0080.00515.84
7.1.300.0040.00915.71
7.1.290.0080.00516.04
7.1.280.0060.00515.93
7.1.270.0060.00915.81
7.1.260.0050.00915.94
7.1.250.0060.01015.94
7.1.200.0060.00315.77
7.1.100.0060.00318.29
7.1.70.0060.00317.34
7.1.60.0000.02519.32
7.1.50.0060.01617.18
7.1.00.0030.07722.76
7.0.200.0000.01016.79
7.0.140.0100.06722.46
7.0.60.0070.05720.19
7.0.50.0100.06318.14
7.0.40.0130.07020.56
7.0.30.0100.04720.42
7.0.20.0330.05320.56
7.0.10.0230.07320.38
7.0.00.0130.07720.40
5.6.280.0070.07021.16
5.6.210.0100.07721.04
5.6.200.0100.08018.48
5.6.190.0130.08321.08
5.6.180.0370.04721.03
5.6.170.0200.05020.83
5.6.160.0070.08320.80
5.6.150.0070.07318.45
5.6.140.0170.07018.54
5.6.130.0100.07318.50
5.6.120.0100.05021.32
5.6.110.0000.04321.37
5.6.100.0070.07321.46
5.6.90.0030.06021.27
5.6.80.0030.04320.63
5.5.350.0200.03320.76
5.5.340.0100.05018.26
5.5.330.0070.05720.70
5.5.320.0270.04020.68
5.5.310.1130.06020.57
5.5.300.0130.07318.34
5.5.290.0130.06318.22
5.5.280.0030.06021.29
5.5.270.0170.07321.07
5.5.260.0130.05721.15
5.5.250.0070.06721.05
5.5.240.0030.04720.56
5.4.450.1670.03719.91
5.4.440.1500.03719.93
5.4.430.1630.03319.91
5.4.420.1630.04019.89
5.4.410.1730.03319.84
5.4.400.1700.04019.67
5.4.390.1770.04019.57
5.4.380.0770.05319.53
5.4.370.0030.04019.70
5.4.360.0100.04719.58
5.4.350.0370.03019.52
5.4.340.1630.03719.65
5.4.320.1630.03319.57
5.4.310.1670.04319.68
5.4.300.1630.04019.54
5.4.290.1670.03319.66
5.4.280.1570.04319.57
5.4.270.1600.03319.57
5.4.260.1800.03719.70
5.4.250.1570.04019.68
5.4.240.1670.03019.65
5.4.230.1600.03719.57
5.4.220.1700.03719.57
5.4.210.1800.04319.59
5.4.200.1670.03319.75
5.4.190.1870.04019.50
5.4.180.1700.04319.74
5.4.170.1830.04019.51
5.4.160.1800.04719.66
5.4.150.1300.03719.50
5.4.140.1800.04017.10
5.4.130.1800.04017.21
5.4.120.1700.04716.96
5.4.110.1530.03717.00
5.4.100.1870.03317.10
5.4.90.1830.03716.97
5.4.80.1870.04717.02
5.4.70.1530.03317.06
5.4.60.1830.03317.13
5.4.50.1730.04316.93
5.4.40.1800.03716.86
5.4.30.1900.03016.89
5.4.20.1800.04017.07
5.4.10.1830.04316.99
5.4.00.1830.04016.52
5.3.290.1800.05015.18
5.3.280.1770.04014.79
5.3.270.1770.04315.11
5.3.260.1770.04314.97
5.3.250.1530.05015.05
5.3.240.0070.07014.80
5.3.230.0030.04314.90
5.3.220.0100.04715.00
5.3.210.1270.04714.78
5.3.200.1830.04015.00
5.3.190.1570.04014.90
5.3.180.1770.04014.76
5.3.170.1570.05314.82
5.3.160.1530.04314.87
5.3.150.1800.03314.91
5.3.140.1600.04014.87
5.3.130.1800.04314.77
5.3.120.1830.04314.93
5.3.110.1870.04014.88
5.3.100.1500.04714.33
5.3.90.1930.05714.36
5.3.80.1870.03714.38
5.3.70.1630.03014.32
5.3.60.1770.03314.18
5.3.50.1970.04014.23
5.3.40.1600.03314.16
5.3.30.1630.03014.22
5.3.20.1530.04014.13
5.3.10.1630.03013.88
5.3.00.1800.05013.83
5.2.170.1330.02711.30
5.2.160.1370.02311.35
5.2.150.1430.03711.43
5.2.140.1670.03011.57
5.2.130.1170.04311.45
5.2.120.0000.03011.55
5.2.110.0000.03011.36
5.2.100.0000.03011.38
5.2.90.1230.02711.30
5.2.80.1570.03311.52
5.2.70.1300.03311.52
5.2.60.1270.03011.47
5.2.50.1530.03011.29
5.2.40.1030.02711.34
5.2.30.1200.04011.29
5.2.20.1070.02711.27
5.2.10.1030.03011.23
5.2.00.1170.03711.14
5.1.60.1070.02010.27
5.1.50.1170.03310.37
5.1.40.1070.02010.28
5.1.30.1230.03310.59
5.1.20.1100.02710.55
5.1.10.0130.02310.52
5.1.00.0000.02710.43
5.0.50.0000.0308.99
5.0.40.0000.0208.58
5.0.30.0000.0308.51
5.0.20.0030.0178.43
5.0.10.0230.0208.46
5.0.00.0630.0238.53
4.4.90.0500.0177.45
4.4.80.0400.0207.45
4.4.70.0470.0177.45
4.4.60.0530.0107.45
4.4.50.0530.0137.45
4.4.40.0500.0277.45
4.4.30.0500.0177.45
4.4.20.0470.0177.45
4.4.10.0630.0177.45
4.4.00.0470.0237.45
4.3.110.0600.0237.45
4.3.100.0500.0177.45
4.3.90.0500.0137.45
4.3.80.0630.0307.45
4.3.70.0530.0137.45
4.3.60.0370.0177.45
4.3.50.0370.0137.45
4.3.40.0530.0237.45
4.3.30.0270.0177.45
4.3.20.0330.0207.45
4.3.10.0170.0177.45
4.3.00.0270.0137.45

preferences:
28.85 ms | 401 KiB | 5 Q