3v4l.org

run code in 300+ PHP versions simultaneously
<?php $responseObject = new stdClass(); $errors = array(); $responseObject->errors = $errors; isset($responseObject->errors[0]) && 1 === count($responseObject->errors) { print 1; }

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.5.120.0070.08017.26
5.5.110.0030.06717.33
5.5.100.0030.04317.24
5.5.90.0070.07017.20
5.5.80.0130.07717.32
5.5.70.0030.07317.29
5.5.60.0030.04317.21
5.5.50.0030.06717.34
5.5.40.0130.04317.32
5.5.30.0000.04017.23
5.5.20.0000.04317.23
5.5.10.0070.03717.18
5.5.00.0100.06017.27
5.4.280.0070.06319.05
5.4.270.0070.07319.14
5.4.260.0070.04718.98
5.4.250.0100.06019.01
5.4.240.0030.06019.26
5.4.230.0070.04019.11
5.4.220.0000.05718.95
5.4.210.0070.04319.27
5.4.200.0030.06719.27
5.4.190.0030.04019.01
5.4.180.0030.03718.85
5.4.170.0070.04019.11
5.4.160.0030.06719.04
5.4.150.0100.03719.07
5.4.140.0100.03016.31
5.4.130.0100.03016.35
5.4.120.0070.05316.45
5.4.110.0030.04016.25
5.4.100.0070.06716.42
5.4.90.0070.07316.45
5.4.80.0030.06016.59
5.4.70.0070.04316.41
5.4.60.0030.04016.45
5.4.50.0100.04016.18
5.4.40.0000.08316.42
5.4.30.0070.07316.45
5.4.20.0100.03016.45
5.4.10.0030.03716.46
5.4.00.0030.03715.76
5.3.280.0070.04314.51
5.3.270.0100.03714.57
5.3.260.0030.07014.56
5.3.250.0100.04314.58
5.3.240.0000.04014.54
5.3.230.0100.07014.43
5.3.220.0000.04714.54
5.3.210.0000.05314.54
5.3.200.0070.07714.54
5.3.190.0070.06314.40
5.3.180.0130.03714.50
5.3.170.0070.05714.51
5.3.160.0030.03714.53
5.3.150.0070.05714.49
5.3.140.0070.04014.48
5.3.130.0000.06014.33
5.3.120.0100.04014.49
5.3.110.0000.04314.51
5.3.100.0000.04314.01
5.3.90.0100.04714.01
5.3.80.0100.07013.79
5.3.70.0130.04313.95
5.3.60.0030.04313.98
5.3.50.0070.07313.91
5.3.40.0130.03313.89
5.3.30.0070.03313.67
5.3.20.0030.03713.65
5.3.10.0000.04713.56
5.3.00.0030.06713.55
5.2.170.0000.05011.10
5.2.160.0070.03011.05
5.2.150.0030.03011.18
5.2.140.0000.03311.17
5.2.130.0100.02311.25
5.2.120.0030.03311.07
5.2.110.0030.05011.10
5.2.100.0070.05711.11
5.2.90.0030.04310.88
5.2.80.0030.05011.04
5.2.70.0070.05011.06
5.2.60.0100.05711.03
5.2.50.0030.05010.97
5.2.40.0030.03010.82
5.2.30.0000.03710.80
5.2.20.0070.02710.98
5.2.10.0030.06010.86
5.2.00.0070.05710.73
5.1.60.0030.0539.97
5.1.50.0070.0479.91
5.1.40.0100.0509.91
5.1.30.0070.05710.17
5.1.20.0030.03710.39
5.1.10.0030.0409.98
5.1.00.0070.05310.05
5.0.50.0070.0438.39
5.0.40.0030.0238.39
5.0.30.0030.0538.39
5.0.20.0030.0278.39
5.0.10.0030.0338.39
5.0.00.0030.0678.39
4.4.90.0070.0338.39
4.4.80.0000.0308.39
4.4.70.0030.0138.39
4.4.60.0000.0408.39
4.4.50.0000.0238.39
4.4.40.0000.0578.39
4.4.30.0070.0338.39
4.4.20.0030.0308.39
4.4.10.0000.0278.39
4.4.00.0030.0538.39
4.3.110.0000.0408.39
4.3.100.0000.0338.39
4.3.90.0000.0338.39
4.3.80.0030.0538.39
4.3.70.0000.0208.39
4.3.60.0000.0178.39
4.3.50.0030.0138.39
4.3.40.0000.0278.39
4.3.30.0000.0378.39
4.3.20.0030.0278.39
4.3.10.0000.0308.39
4.3.00.0000.0278.39

preferences:
140.9 ms | 1394 KiB | 7 Q