3v4l.org

run code in 300+ PHP versions simultaneously
<?php $foo = null; if ($foo && $foo->getTitel() === 'at') echo 'boo'; class Satan { public function getDeibel() { return null; } } $satan = new Satan(); if ($satan-getDeibel() && $satan->getDeibel()->getTeufel() === 'cap') { echo "Sheztan"; }

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.0040.01116.63
8.3.50.0070.01117.80
8.3.40.0090.00618.84
8.3.30.0090.00618.63
8.3.20.0060.00320.33
8.3.10.0040.00423.51
8.3.00.0000.00819.38
8.2.180.0000.01516.50
8.2.170.0060.01222.96
8.2.160.0130.00020.32
8.2.150.0000.00824.18
8.2.140.0070.00024.66
8.2.130.0000.01019.23
8.2.120.0070.00026.35
8.2.110.0150.00020.46
8.2.100.0140.00017.93
8.2.90.0040.00419.03
8.2.80.0000.00817.97
8.2.70.0030.00517.50
8.2.60.0000.00818.04
8.2.50.0080.00018.07
8.2.40.0040.00419.41
8.2.30.0000.00820.60
8.2.20.0030.00517.62
8.2.10.0040.00418.03
8.2.00.0000.00818.10
8.1.280.0070.00725.92
8.1.270.0090.00023.67
8.1.260.0000.00728.09
8.1.250.0090.00028.09
8.1.240.0090.00022.10
8.1.230.0110.00017.76
8.1.220.0040.00417.74
8.1.210.0030.00618.77
8.1.200.0060.00317.47
8.1.190.0040.00417.22
8.1.180.0050.00318.10
8.1.170.0000.00718.73
8.1.160.0000.00721.88
8.1.150.0030.00518.88
8.1.140.0000.00819.47
8.1.130.0000.00717.55
8.1.120.0000.00817.45
8.1.110.0050.00217.47
8.1.100.0000.00817.35
8.1.90.0080.00017.35
8.1.80.0030.00517.48
8.1.70.0000.00717.46
8.1.60.0040.00417.46
8.1.50.0040.00417.55
8.1.40.0030.00517.39
8.1.30.0030.00517.72
8.1.20.0040.00417.58
8.1.10.0000.00817.49
8.1.00.0000.00817.45
8.0.300.0040.00418.77
8.0.290.0070.00016.75
8.0.280.0070.00018.36
8.0.270.0040.00417.25
8.0.260.0030.00317.18
8.0.250.0070.00016.90
8.0.240.0050.00317.02
8.0.230.0080.00016.90
8.0.220.0110.00017.00
8.0.210.0040.00416.91
8.0.200.0030.00317.05
8.0.190.0040.00416.93
8.0.180.0070.00016.87
8.0.170.0040.00416.91
8.0.160.0050.00216.96
8.0.150.0070.00016.81
8.0.140.0030.00516.89
8.0.130.0000.00613.39
8.0.120.0050.00316.83
8.0.110.0000.00816.84
8.0.100.0070.00016.79
8.0.90.0070.00016.86
8.0.80.0000.01716.90
8.0.70.0080.00016.83
8.0.60.0080.00016.78
8.0.50.0000.00817.00
8.0.30.0140.00617.00
8.0.20.0110.00717.40
8.0.10.0030.00316.91
8.0.00.0090.00816.66
7.4.330.0000.00516.77
7.4.320.0060.00016.45
7.4.300.0070.00016.36
7.4.290.0000.00716.51
7.4.280.0000.00716.61
7.4.270.0000.00716.50
7.4.260.0070.00016.57
7.4.250.0040.00416.61
7.4.240.0020.00516.58
7.4.230.0030.00316.62
7.4.220.0110.00716.62
7.4.210.0100.00516.54
7.4.200.0000.00716.48
7.4.160.0080.00816.47
7.4.150.0120.00617.40
7.4.140.0110.01117.86
7.4.130.0130.00616.58
7.4.120.0120.00516.66
7.4.110.0140.00716.55
7.4.100.0150.00316.57
7.4.90.0170.00016.58
7.4.80.0090.00919.39
7.4.70.0100.00716.59
7.4.60.0090.00916.52
7.4.50.0030.01216.37
7.4.40.0140.00316.41
7.4.30.0140.01116.65
7.4.00.0060.01114.94
7.3.330.0060.00013.36
7.3.320.0050.00013.24
7.3.310.0000.00716.22
7.3.300.0000.00716.41
7.3.290.0030.00316.36
7.3.280.0070.00816.34
7.3.270.0090.00917.40
7.3.260.0130.00416.61
7.3.250.0070.01316.45
7.3.240.0100.01016.38
7.3.230.0060.01616.58
7.3.210.0190.00616.65
7.3.200.0100.00616.34
7.3.190.0130.00316.35
7.3.180.0060.01016.39
7.3.170.0200.00016.42
7.3.160.0000.01516.37
7.3.120.0140.00315.00
7.3.110.0030.01614.77
7.3.100.0030.01014.99
7.3.90.0100.00314.59
7.3.80.0090.00614.77
7.3.70.0000.01014.97
7.3.60.0090.00614.68
7.3.50.0060.01214.86
7.3.40.0040.00414.73
7.3.30.0120.00014.74
7.3.20.0060.00916.45
7.3.10.0040.01116.76
7.3.00.0090.00616.52
7.2.330.0090.01316.43
7.2.320.0060.01316.70
7.2.310.0070.01016.47
7.2.300.0070.01016.70
7.2.290.0060.01216.46
7.2.250.0040.01215.00
7.2.240.0110.00714.93
7.2.230.0000.01515.22
7.2.220.0000.00915.10
7.2.210.0060.00915.01
7.2.200.0000.01414.90
7.2.190.0050.00514.74
7.2.180.0120.00314.93
7.2.170.0080.00415.09
7.2.60.0120.00316.95
7.2.00.0070.01019.44
7.1.330.0070.00715.64
7.1.320.0030.00515.82
7.1.310.0000.01115.93
7.1.300.0030.01215.72
7.1.290.0110.00715.71
7.1.280.0040.00815.85
7.1.270.0100.00015.54
7.1.260.0070.01015.45
7.1.200.0040.00815.46
7.1.100.0000.01018.29
7.1.70.0030.00317.13
7.1.60.0130.00619.48
7.1.50.0070.00716.87
7.1.00.0070.07022.43
7.0.200.0100.00016.88
7.0.60.0100.08020.07
7.0.50.0070.08717.83
7.0.40.0030.05020.26
7.0.30.0300.08320.20
7.0.20.0230.08020.07
7.0.10.0070.04720.17
7.0.00.0070.05720.07
5.6.280.0070.05321.04
5.6.210.0130.07320.65
5.6.200.0170.03718.16
5.6.190.0030.05020.61
5.6.180.0370.06020.57
5.6.170.0270.06720.39
5.6.160.0100.07720.61
5.6.150.0030.08318.14
5.6.140.0070.06318.17
5.6.130.0030.08018.15
5.6.120.0130.07720.90
5.6.110.0130.07321.08
5.6.100.0100.08020.97
5.6.90.0030.04020.95
5.6.80.0000.09020.51
5.5.350.3770.05020.41
5.5.340.0070.08718.00
5.5.330.0070.08720.30
5.5.320.0070.07320.27
5.5.310.0400.07020.27
5.5.300.0100.08017.99
5.5.290.0130.07018.08
5.5.280.0070.08320.87
5.5.270.0070.08020.79
5.5.260.0070.03720.97
5.5.250.0100.07720.58
5.5.240.0330.07320.16

preferences:
39.97 ms | 400 KiB | 5 Q