3v4l.org

run code in 300+ PHP versions simultaneously
<?php print "omg"; $parts = parse_url("http://134744072 1.2.3.4:1/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.0110.01118.31
8.3.50.0130.00821.97
8.3.40.0070.01419.02
8.3.30.0100.00319.17
8.3.20.0000.00820.14
8.3.10.0110.00423.65
8.3.00.0060.00322.40
8.2.180.0110.00716.50
8.2.170.0040.01122.96
8.2.160.0100.00322.26
8.2.150.0040.00424.18
8.2.140.0090.00924.66
8.2.130.0000.00726.16
8.2.120.0060.00319.36
8.2.110.0030.00621.93
8.2.100.0060.00619.57
8.2.90.0080.00019.39
8.2.80.0040.00418.16
8.2.70.0040.00417.50
8.2.60.0050.00318.05
8.2.50.0000.00718.07
8.2.40.0030.00618.19
8.2.30.0060.00318.13
8.2.20.0080.00017.72
8.2.10.0030.00519.57
8.2.00.0040.00417.69
8.1.280.0140.00425.92
8.1.270.0040.00423.97
8.1.260.0070.00026.35
8.1.250.0000.00828.09
8.1.240.0030.00623.91
8.1.230.0040.00819.14
8.1.220.0040.00417.76
8.1.210.0000.00818.77
8.1.200.0070.00317.23
8.1.190.0040.00417.18
8.1.180.0040.00418.10
8.1.170.0070.00018.46
8.1.160.0050.00221.89
8.1.150.0000.00718.57
8.1.140.0040.00417.27
8.1.130.0030.00317.95
8.1.120.0030.00417.32
8.1.110.0040.00417.30
8.1.100.0000.00717.37
8.1.90.0000.00717.41
8.1.80.0050.00317.30
8.1.70.0000.00717.28
8.1.60.0030.00517.41
8.1.50.0000.00717.35
8.1.40.0000.00817.45
8.1.30.0030.00617.48
8.1.20.0040.00417.62
8.1.10.0000.00717.53
8.1.00.0050.00217.49
8.0.300.0000.00718.77
8.0.290.0000.00817.16
8.0.280.0080.00018.48
8.0.270.0030.00517.31
8.0.260.0060.00016.94
8.0.250.0040.00416.86
8.0.240.0030.00317.02
8.0.230.0000.00616.95
8.0.220.0000.00716.90
8.0.210.0040.00416.87
8.0.200.0030.00316.96
8.0.190.0000.00716.89
8.0.180.0050.00316.81
8.0.170.0040.00416.97
8.0.160.0020.00516.95
8.0.150.0030.00516.79
8.0.140.0070.00016.93
8.0.130.0030.00313.33
8.0.120.0030.00516.90
8.0.110.0000.00816.83
8.0.100.0000.00816.81
8.0.90.0040.00417.02
8.0.80.0060.01016.89
8.0.70.0000.00716.80
8.0.60.0040.00416.79
8.0.50.0000.00716.96
8.0.30.0050.01817.06
8.0.20.0110.00817.40
8.0.10.0040.00416.83
8.0.00.0060.01216.77
7.4.330.0020.00215.00
7.4.320.0000.00616.46
7.4.300.0000.00716.55
7.4.290.0000.00616.36
7.4.280.0000.00716.55
7.4.270.0070.00316.45
7.4.260.0000.00716.45
7.4.250.0030.00316.53
7.4.240.0040.00316.46
7.4.230.0070.00016.66
7.4.220.0180.00016.49
7.4.210.0080.00916.46
7.4.200.0030.00316.35
7.4.190.0070.00016.41
7.4.160.0120.00316.51
7.4.150.0090.00817.40
7.4.140.0110.00917.86
7.4.130.0100.00716.58
7.4.120.0120.00616.44
7.4.110.0060.01216.72
7.4.100.0090.01216.50
7.4.90.0140.00316.64
7.4.80.0030.01316.71
7.4.70.0080.00816.66
7.4.60.0080.00816.54
7.4.50.0000.00416.56
7.4.40.0040.00722.77
7.4.30.0070.01416.48
7.4.00.0080.00814.99
7.3.330.0000.00513.07
7.3.320.0000.00613.16
7.3.310.0020.00516.11
7.3.300.0000.00616.28
7.3.290.0100.00616.38
7.3.280.0080.00816.33
7.3.270.0040.01317.40
7.3.260.0130.01316.50
7.3.250.0060.01016.49
7.3.240.0130.00316.38
7.3.230.0140.01016.39
7.3.210.0080.00816.46
7.3.200.0130.00319.39
7.3.190.0120.00916.32
7.3.180.0140.00716.49
7.3.170.0100.01216.29
7.3.160.0060.01616.51
7.3.120.0030.01414.92
7.3.110.0110.00714.96
7.3.100.0060.00614.68
7.3.90.0060.00614.75
7.3.80.0060.00614.96
7.3.70.0030.01014.78
7.3.60.0120.00314.69
7.3.50.0060.00914.78
7.3.40.0130.00014.94
7.3.30.0120.00314.83
7.3.20.0070.00716.70
7.3.10.0050.00516.68
7.3.00.0060.00716.54
7.2.330.0110.01116.72
7.2.320.0030.01316.71
7.2.310.0140.00316.50
7.2.300.0050.01016.51
7.2.290.0160.00016.73
7.2.250.0110.00714.68
7.2.240.0070.01115.30
7.2.230.0100.00715.15
7.2.220.0110.00715.23
7.2.210.0000.01615.20
7.2.200.0030.00915.12
7.2.190.0090.00614.63
7.2.180.0060.00914.98
7.2.170.0040.01115.04
7.2.130.0050.00816.86
7.2.120.0090.00516.91
7.2.110.0050.00816.80
7.2.100.0020.01016.78
7.2.90.0050.00716.71
7.2.80.0070.00916.65
7.2.70.0050.00916.95
7.2.60.0060.00816.94
7.2.50.0000.01316.94
7.2.40.0060.00616.94
7.2.30.0020.01316.90
7.2.20.0080.00616.89
7.2.10.0030.00816.87
7.2.00.0020.01017.69
7.1.330.0040.00815.91
7.1.320.0030.00915.81
7.1.310.0030.00615.86
7.1.300.0030.01015.53
7.1.290.0040.00815.75
7.1.280.0070.00715.60
7.1.270.0000.01015.79
7.1.260.0060.00915.91
7.1.250.0060.00615.61
7.1.240.0030.01015.71
7.1.230.0060.01015.87
7.1.220.0060.00315.70
7.1.210.0080.00415.74
7.1.200.0070.00715.75
7.1.190.0070.00715.87
7.1.180.0000.01315.64
7.1.170.0030.01015.66
7.1.160.0030.00815.73
7.1.150.0030.00915.89
7.1.140.0000.01315.91
7.1.130.0030.00615.75
7.1.120.0050.00515.64
7.1.110.0040.01115.89
7.1.100.0030.00716.84
7.1.90.0120.00315.92
7.1.80.0080.00815.70
7.1.70.0020.01216.27
7.1.60.0030.00817.59
7.1.50.0030.01016.47
7.1.40.0060.01015.34
7.1.30.0060.00315.70
7.1.20.0100.00715.75
7.1.10.0060.00915.79
7.1.00.0060.03819.12
7.0.330.0000.01215.20
7.0.320.0090.00615.33
7.0.310.0080.00415.19
7.0.300.0100.00315.42
7.0.290.0060.00915.30
7.0.280.0040.00415.42
7.0.270.0060.00615.23
7.0.260.0030.00715.29
7.0.250.0070.00715.29
7.0.240.0060.00315.27
7.0.230.0090.00314.84
7.0.220.0060.00615.02
7.0.210.0040.01215.30
7.0.200.0060.00516.02
7.0.190.0060.00615.14
7.0.180.0030.00715.38
7.0.170.0050.00515.36
7.0.160.0030.00615.48
7.0.150.0030.01015.27
7.0.140.0020.04018.72
7.0.130.0030.01315.20
7.0.120.0070.00315.32
7.0.110.0060.00615.38
7.0.100.0000.01215.19
7.0.90.0050.00315.10
7.0.80.0030.00615.54
7.0.70.0100.00315.19
7.0.60.0030.04818.67
7.0.50.0050.04716.42
7.0.40.0080.02316.82
7.0.30.0150.04416.71
7.0.20.0100.03016.51
7.0.10.0100.04216.68
7.0.00.0050.04016.86
5.6.380.0120.00314.18
5.6.370.0110.00014.45
5.6.360.0000.01414.48
5.6.350.0060.00314.52
5.6.340.0000.01314.34
5.6.330.0040.00714.30
5.6.320.0070.01014.38
5.6.310.0070.00714.42
5.6.300.0070.00713.92
5.6.290.0030.01013.80
5.6.280.0090.03617.62
5.6.270.0070.00714.31
5.6.260.0040.00414.25
5.6.250.0040.00714.51
5.6.240.0000.00914.52
5.6.230.0070.00714.45
5.6.220.0080.00613.90
5.6.210.0080.02617.26
5.6.200.0060.04616.12
5.6.190.0100.02317.49
5.6.180.0270.04017.50
5.6.170.0200.04617.33
5.6.160.0080.04417.26
5.6.150.0100.04016.20
5.6.140.0070.04416.25
5.6.130.0080.03816.23
5.6.120.0150.03817.59
5.6.110.0040.02517.58
5.6.100.0120.04217.65
5.6.90.0120.03817.58
5.6.80.0100.04517.24
5.6.70.0030.01013.97
5.6.60.0070.00714.30
5.6.50.0130.00314.37
5.6.40.0070.01114.17
5.6.30.0080.00814.38
5.6.20.0030.01314.58
5.6.10.0080.00314.45
5.6.00.0100.00314.20
5.5.380.0030.00310.68
5.5.370.0060.00610.96
5.5.360.0030.00311.23
5.5.350.0080.02615.57
5.5.340.0110.02514.42
5.5.330.0050.04715.51
5.5.320.0360.03515.69
5.5.310.0160.03015.66
5.5.300.0050.04214.34
5.5.290.0070.03914.46
5.5.280.0110.03015.68
5.5.270.0050.02015.87
5.5.260.0020.04715.88
5.5.250.0070.04215.73
5.5.240.0100.03315.65
5.5.230.0070.00310.96
5.5.220.0000.01311.07
5.5.210.0080.00511.30
5.5.200.0000.00711.35
5.5.190.0040.00811.36
5.5.180.0060.00311.16
5.5.170.0100.00011.27
5.5.160.0060.00611.09
5.5.150.0030.00910.94
5.5.140.0110.00011.39
5.5.130.0090.00311.45
5.5.120.0040.00711.31
5.5.110.0040.00711.22
5.5.100.0060.00611.21
5.5.90.0070.00311.52
5.5.80.0040.00710.84
5.5.70.0090.00011.31
5.5.60.0050.00210.98
5.5.50.0030.00611.20
5.5.40.0060.00610.91
5.5.30.0040.00411.22
5.5.20.0000.01011.31
5.5.10.0030.00611.07
5.5.00.0060.00611.17
5.4.450.2030.02415.31
5.4.440.1520.02515.01
5.4.430.1960.01915.02
5.4.420.1930.02215.23
5.4.410.1890.02015.11
5.4.400.2020.02214.87
5.4.390.0500.02314.87
5.4.380.1800.02214.92
5.4.370.1950.02215.55
5.4.360.1700.02015.44
5.4.350.1750.01715.49
5.4.340.1830.02015.46
5.4.330.0070.00310.94
5.4.320.1910.02115.34
5.4.310.1900.02615.43
5.4.300.1270.02615.46
5.4.290.1820.02515.40
5.4.280.1980.02215.47
5.4.270.1930.01715.41
5.4.260.2170.02715.45
5.4.250.1970.02615.40
5.4.240.2040.02115.46
5.4.230.1670.02315.51
5.4.220.1840.02115.38
5.4.210.2130.02315.46
5.4.200.2140.02115.46
5.4.190.2050.02015.50
5.4.180.1850.02015.35
5.4.170.2000.02015.49
5.4.160.1970.02215.38
5.4.150.2170.02015.34
5.4.140.1950.02014.22
5.4.130.1850.02214.17
5.4.120.2000.02014.12
5.4.110.1960.01814.18
5.4.100.2130.02014.01
5.4.90.2270.02514.02
5.4.80.0050.03014.11
5.4.70.2200.02314.00
5.4.60.2530.02513.97
5.4.50.2220.01814.04
5.4.40.2090.02514.06
5.4.30.2010.02114.04
5.4.20.1900.02414.05
5.4.10.2000.02114.19
5.4.00.1980.02213.65
5.3.290.1920.03112.78
5.3.280.1890.02112.71
5.3.270.2150.02312.66
5.3.260.1910.02112.77
5.3.250.1970.02312.80
5.3.240.1980.02112.71
5.3.230.2430.02612.76
5.3.220.1970.02012.71
5.3.210.1970.02312.71
5.3.200.1960.01812.70
5.3.190.1130.01712.72
5.3.180.0030.02612.71
5.3.170.0020.02812.81
5.3.160.2420.02512.69
5.3.150.2080.01812.70
5.3.140.1830.02312.77
5.3.130.2450.02012.69
5.3.120.2150.02812.74
5.3.110.2180.02312.76
5.3.100.2150.02812.45
5.3.90.1950.02112.42
5.3.80.2010.02012.49
5.3.70.1970.01812.42
5.3.60.0020.02512.46
5.3.50.0030.02312.41
5.3.40.1850.01812.40
5.3.30.2010.02412.44
5.3.20.1930.02112.37
5.3.10.2050.01812.26
5.3.00.1930.02512.21
5.2.170.0030.03410.97
5.2.160.0380.02510.97
5.2.150.1850.01610.97
5.2.140.1800.02311.00
5.2.130.1770.01911.00
5.2.120.1560.01811.01
5.2.110.1720.01511.00
5.2.100.1500.01610.93
5.2.90.1600.02110.94
5.2.80.1700.01810.93
5.2.70.1530.02110.96
5.2.60.1700.01710.91
5.2.50.1560.01810.89
5.2.40.1370.01710.92
5.2.30.1430.01810.91
5.2.20.1530.01710.87
5.2.10.1680.01510.82
5.2.00.1310.01510.77
5.1.60.1490.01510.44
5.1.50.1530.01010.44
5.1.40.1580.01310.42
5.1.30.1380.01810.60
5.1.20.1490.01710.56
5.1.10.1580.01210.44
5.1.00.1530.01510.45
5.0.50.0730.0139.62
5.0.40.0660.0139.68
5.0.30.0650.0159.49
5.0.20.0830.0109.58
5.0.10.0640.0109.56
5.0.00.0720.0209.50
4.4.90.0660.0088.42
4.4.80.0600.0128.43
4.4.70.0750.0108.46
4.4.60.0830.0108.46
4.4.50.0770.0088.39
4.4.40.0830.0188.41
4.4.30.0780.0148.46
4.4.20.0680.0118.48
4.4.10.0750.0118.43
4.4.00.0730.0138.43
4.3.110.0690.0088.42
4.3.100.0650.0088.38
4.3.90.0640.0098.39
4.3.80.0760.0138.36
4.3.70.0660.0058.36
4.3.60.0600.0128.39
4.3.50.0650.0108.41
4.3.40.0670.0138.39
4.3.30.0380.0108.21
4.3.20.0450.0088.21
4.3.10.0420.0138.21
4.3.00.0320.0108.21

preferences:
53.08 ms | 401 KiB | 5 Q