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.75
8.3.50.0050.01421.99
8.3.40.0120.00918.98
8.3.30.0000.01418.57
8.3.20.0040.00420.20
8.3.10.0070.00023.64
8.3.00.0080.00019.14
8.2.180.0040.01116.38
8.2.170.0090.00922.96
8.2.160.0100.00320.27
8.2.150.0000.00824.18
8.2.140.0070.00024.66
8.2.130.0100.00019.23
8.2.120.0070.00026.35
8.2.110.0140.00420.35
8.2.100.0110.00317.91
8.2.90.0030.00518.89
8.2.80.0040.00417.97
8.2.70.0000.00817.50
8.2.60.0040.00417.80
8.2.50.0060.00318.07
8.2.40.0040.00419.34
8.2.30.0000.00720.68
8.2.20.0030.00617.75
8.2.10.0040.00418.10
8.2.00.0040.00418.17
8.1.280.0070.01325.92
8.1.270.0030.00623.83
8.1.260.0040.00428.09
8.1.250.0000.00728.09
8.1.240.0060.00322.25
8.1.230.0080.00417.79
8.1.220.0000.00817.74
8.1.210.0080.00018.77
8.1.200.0090.00017.34
8.1.190.0040.00417.23
8.1.180.0030.00518.10
8.1.170.0000.00718.76
8.1.160.0000.00722.06
8.1.150.0000.00718.93
8.1.140.0050.00319.58
8.1.130.0070.00017.68
8.1.120.0000.00717.36
8.1.110.0030.00417.42
8.1.100.0000.00717.46
8.1.90.0070.00017.45
8.1.80.0040.00417.48
8.1.70.0030.00317.34
8.1.60.0030.00517.64
8.1.50.0050.00317.54
8.1.40.0030.00517.38
8.1.30.0000.00817.66
8.1.20.0040.00417.57
8.1.10.0040.00417.58
8.1.00.0000.00817.54
8.0.300.0040.00418.77
8.0.290.0000.00816.75
8.0.280.0030.00518.44
8.0.270.0000.00717.30
8.0.260.0000.00718.49
8.0.250.0000.00717.05
8.0.240.0000.00717.04
8.0.230.0070.00017.06
8.0.220.0100.00016.92
8.0.210.0020.00516.93
8.0.200.0030.00317.03
8.0.190.0070.00017.02
8.0.180.0000.00816.86
8.0.170.0030.00516.88
8.0.160.0070.00017.07
8.0.150.0000.01016.93
8.0.140.0070.00016.88
8.0.130.0030.00313.40
8.0.120.0040.00416.87
8.0.110.0000.00716.92
8.0.100.0050.00216.97
8.0.90.0040.00417.06
8.0.80.0030.01316.85
8.0.70.0000.00716.81
8.0.60.0040.00417.02
8.0.50.0070.00016.86
8.0.30.0080.00917.13
8.0.20.0150.01317.40
8.0.10.0040.00417.14
8.0.00.0090.00916.85
7.4.330.0050.00016.67
7.4.320.0060.00016.51
7.4.300.0060.00016.62
7.4.290.0000.00616.52
7.4.280.0030.00616.41
7.4.270.0000.00716.45
7.4.260.0000.00716.39
7.4.250.0000.00816.46
7.4.240.0040.00316.57
7.4.230.0030.00316.65
7.4.220.0060.01616.59
7.4.210.0080.00816.55
7.4.200.0000.00716.40
7.4.160.0090.00616.45
7.4.150.0170.00017.40
7.4.140.0050.01417.86
7.4.130.0070.00916.60
7.4.120.0090.00816.58
7.4.110.0100.00616.57
7.4.100.0100.01016.68
7.4.90.0120.00616.64
7.4.80.0160.00819.39
7.4.70.0170.00916.62
7.4.60.0040.01216.59
7.4.50.0110.00416.45
7.4.40.0090.00616.57
7.4.30.0160.00816.73
7.4.00.0030.00915.16
7.3.330.0060.00013.14
7.3.320.0000.00513.15
7.3.310.0000.00716.34
7.3.300.0000.00716.29
7.3.290.0000.00716.30
7.3.280.0090.01116.35
7.3.270.0140.00317.40
7.3.260.0040.01316.61
7.3.250.0070.01016.22
7.3.240.0090.01116.33
7.3.230.0070.01016.39
7.3.210.0110.01016.57
7.3.200.0110.00716.42
7.3.190.0090.00916.66
7.3.180.0130.00316.34
7.3.170.0100.01016.39
7.3.160.0080.00816.39
7.3.120.0130.00314.95
7.3.110.0100.00714.70
7.3.100.0040.00814.79
7.3.90.0060.01014.67
7.3.80.0090.00014.55
7.3.70.0070.01014.90
7.3.60.0090.00614.93
7.3.50.0070.01014.75
7.3.40.0030.00714.61
7.3.30.0040.01114.78
7.3.20.0060.00916.63
7.3.10.0050.00816.42
7.3.00.0070.00716.67
7.2.330.0140.00316.30
7.2.320.0100.01316.72
7.2.310.0060.00916.64
7.2.300.0160.00316.69
7.2.290.0110.01116.73
7.2.240.0040.01214.61
7.2.230.0060.01015.07
7.2.220.0040.01515.18
7.2.210.0000.01815.28
7.2.200.0060.00914.82
7.2.190.0000.01114.96
7.2.180.0060.00615.16
7.2.170.0030.01314.96
7.2.160.0080.00414.94
7.2.150.0000.01416.84
7.2.140.0070.01016.77
7.2.130.0100.00516.85
7.2.120.0010.01516.88
7.2.110.0120.00516.99
7.2.100.0030.01216.91
7.2.90.0080.00616.95
7.2.80.0050.00716.99
7.2.70.0080.00617.01
7.2.60.0040.01116.68
7.2.50.0060.00616.88
7.2.40.0040.01116.79
7.2.30.0050.00916.77
7.2.20.0020.01116.79
7.2.10.0020.01016.80
7.2.00.0110.00417.78
7.1.330.0080.00315.84
7.1.320.0060.00915.68
7.1.310.0070.00715.67
7.1.300.0090.00315.82
7.1.290.0070.00715.61
7.1.280.0080.00815.76
7.1.270.0070.00715.87
7.1.260.0080.00815.48
7.1.250.0100.00515.50
7.1.200.0000.01015.63
7.1.100.0000.00818.16
7.1.70.0000.00816.97
7.1.60.0120.01219.48
7.1.50.0110.00716.70
7.1.00.0000.08022.35
7.0.200.0040.00416.75
7.0.60.0070.08019.86
7.0.50.0100.08017.86
7.0.40.0070.04320.07
7.0.30.0330.08720.23
7.0.20.0300.07320.21
7.0.10.0070.05020.07
7.0.00.0100.07720.07
5.6.280.0000.05720.77
5.6.210.0100.08020.51
5.6.200.0130.07018.29
5.6.190.0000.05320.61
5.6.180.0370.08020.63
5.6.170.0270.07720.52
5.6.160.0070.07720.48
5.6.150.0130.07318.28
5.6.140.0070.08718.18
5.6.130.0070.08718.11
5.6.120.0070.05721.05
5.6.110.0070.04021.06
5.6.100.0030.07320.88
5.6.90.0030.08021.06
5.6.80.0100.08020.36
5.5.350.2900.04020.35
5.5.340.0070.07717.99
5.5.330.0070.06020.23
5.5.320.0070.07320.51
5.5.310.0270.07020.32
5.5.300.0030.07318.01
5.5.290.0070.05718.03
5.5.280.0000.04320.88
5.5.270.0070.08020.87
5.5.260.0030.04320.84
5.5.250.0100.07720.79
5.5.240.0300.07020.15

preferences:
53.77 ms | 401 KiB | 5 Q