3v4l.org

run code in 300+ PHP versions simultaneously
<?php $host_config = 'somehost:8080' list($host, $port) = explode(':', $host_config, 2); // $host == somehost // $port == 8080

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)
5.4.380.0170.06018.41
5.4.370.0230.05718.78
5.4.360.0300.04718.75
5.4.350.0200.05718.46
5.4.340.0270.05018.81
5.4.320.0200.05718.75
5.4.310.0270.04718.47
5.4.300.0370.04018.59
5.4.290.0270.05318.79
5.4.280.0270.05018.55
5.4.270.0170.06318.62
5.4.260.0170.05718.77
5.4.250.0230.05318.59
5.4.240.0170.06018.71
5.4.230.0230.04718.71
5.4.220.0300.05718.74
5.4.210.0230.06018.71
5.4.200.0200.05016.64
5.4.190.0230.05318.49
5.4.180.0370.04318.72
5.4.170.0270.05018.70
5.4.160.0230.05318.76
5.4.150.0300.04718.44
5.4.140.0270.04716.29
5.4.130.0200.05316.32
5.4.120.0300.04316.42
5.4.110.0170.05716.23
5.4.100.0330.05016.15
5.4.90.0300.04716.17
5.4.80.0230.05316.26
5.4.70.0430.05716.25
5.4.60.0230.05316.40
5.4.50.0200.05016.22
5.4.40.0270.04716.31
5.4.30.0230.04716.15
5.4.20.0270.04716.11
5.4.10.0170.05316.16
5.4.00.0200.05015.75
5.3.290.0200.05714.67
5.3.280.0270.04714.64
5.3.270.0200.05714.54
5.3.260.0300.04714.61
5.3.250.0270.05014.60
5.3.240.0270.07014.73
5.3.230.0270.05714.52
5.3.220.0200.05714.53
5.3.210.0230.05714.66
5.3.200.0270.05314.65
5.3.190.0400.04014.62
5.3.180.0170.05714.49
5.3.170.0300.04314.59
5.3.160.0170.05314.55
5.3.150.0100.06014.66
5.3.140.0230.04714.56
5.3.130.0200.05714.62
5.3.120.0270.05314.55
5.3.110.0070.06714.58
5.3.100.0270.04714.13
5.3.90.0300.04313.91
5.3.80.0300.04314.11
5.3.70.0070.06714.11
5.3.60.0130.06013.99
5.3.50.0270.04313.92
5.3.40.0200.05313.88
5.3.30.0170.05013.90
5.3.20.0270.04313.68
5.3.10.0370.03313.60
5.3.00.0130.06013.57
5.2.170.0130.04311.28
5.2.160.0200.03711.20
5.2.150.0230.03311.20
5.2.140.0200.04311.06
5.2.130.0130.04311.05
5.2.120.0170.04011.06
5.2.110.0230.04311.13
5.2.100.0100.04711.14
5.2.90.0130.04311.26
5.2.80.0170.04011.17
5.2.70.0170.04011.04
5.2.60.0130.04311.10
5.2.50.0200.04011.15
5.2.40.0130.04310.94
5.2.30.0100.04310.92
5.2.20.0100.04311.11
5.2.10.0100.05010.86
5.2.00.0170.03710.69
5.1.60.0170.03010.04
5.1.50.0070.0409.99
5.1.40.0100.03710.00
5.1.30.0130.03710.43
5.1.20.0130.04010.46
5.1.10.0130.03710.12
5.1.00.0200.03010.10
5.0.50.0130.0238.68
5.0.40.0130.0238.55
5.0.30.0030.0508.24
5.0.20.0100.0278.21
5.0.10.0070.0308.24
5.0.00.0130.0378.35
4.4.90.0070.0236.79
4.4.80.0070.0236.79
4.4.70.0000.0276.79
4.4.60.0000.0306.79
4.4.50.0030.0276.79
4.4.40.0030.0406.79
4.4.30.0070.0236.79
4.4.20.0130.0176.79
4.4.10.0100.0206.79
4.4.00.0100.0376.79
4.3.110.0070.0236.79
4.3.100.0030.0276.79
4.3.90.0070.0206.79
4.3.80.0100.0336.79
4.3.70.0070.0236.79
4.3.60.0070.0206.79
4.3.50.0030.0276.79
4.3.40.0100.0406.79
4.3.30.0070.0206.79
4.3.20.0070.0236.79
4.3.10.0030.0306.79
4.3.00.0000.0237.57

preferences:
145.67 ms | 1394 KiB | 7 Q