3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test = new stdClass(); $test->whatefer = ['blah' => 'ebook']; $testing = @$test->whatefer['blah']; var_dump($testing); if ($hmm = @$test->whatefer['blah'] && isset($hmm) && $hmm === 'ebook') { echo "yep"; } else { echo "nope"; }

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.0070.01418.43
8.3.50.0070.01319.73
8.3.40.0100.00718.96
8.3.30.0120.00318.72
8.3.20.0070.00020.07
8.3.10.0080.00021.78
8.3.00.0040.00419.06
8.2.180.0100.01016.38
8.2.170.0160.00622.96
8.2.160.0090.00619.34
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0000.00722.08
8.2.120.0040.00426.35
8.2.110.0030.00719.45
8.2.100.0070.00417.84
8.2.90.0050.00319.36
8.2.80.0080.00017.97
8.2.70.0000.00817.63
8.2.60.0050.00318.16
8.2.50.0080.00018.10
8.2.40.0000.00720.42
8.2.30.0000.00719.31
8.2.20.0000.00717.79
8.2.10.0050.00318.03
8.2.00.0000.00718.11
8.1.280.0100.01025.92
8.1.270.0080.00023.91
8.1.260.0070.00028.09
8.1.250.0050.00228.09
8.1.240.0030.00621.44
8.1.230.0110.00017.52
8.1.220.0040.00417.76
8.1.210.0040.00418.77
8.1.200.0050.00517.47
8.1.190.0040.00417.23
8.1.180.0040.00418.10
8.1.170.0000.00818.71
8.1.160.0000.00718.88
8.1.150.0040.00418.93
8.1.140.0000.00719.44
8.1.130.0040.00417.57
8.1.120.0050.00217.45
8.1.110.0030.00517.37
8.1.100.0030.00317.30
8.1.90.0040.00417.35
8.1.80.0000.00817.43
8.1.70.0050.00317.28
8.1.60.0050.00317.53
8.1.50.0040.00417.50
8.1.40.0050.00317.40
8.1.30.0050.00317.62
8.1.20.0030.00617.63
8.1.10.0040.00417.53
8.1.00.0000.00717.50
8.0.300.0000.00818.77
8.0.290.0040.00416.75
8.0.280.0000.00718.44
8.0.270.0000.00717.17
8.0.260.0000.00617.30
8.0.250.0030.00316.98
8.0.240.0030.00316.97
8.0.230.0030.00316.93
8.0.220.0070.00016.80
8.0.210.0000.00816.87
8.0.200.0090.00516.95
8.0.190.0070.00416.83
8.0.180.0000.00816.94
8.0.170.0030.00516.83
8.0.160.0080.00016.86
8.0.150.0030.00316.86
8.0.140.0030.00516.84
8.0.130.0030.00313.32
8.0.120.0090.00016.86
8.0.110.0040.00416.75
8.0.100.0040.00416.68
8.0.90.0000.00716.75
8.0.80.0170.00016.91
8.0.70.0080.00016.83
8.0.60.0000.00716.88
8.0.50.0070.00016.75
8.0.30.0100.00717.17
8.0.20.0110.00917.40
8.0.10.0070.00017.05
8.0.00.0130.00416.79
7.4.330.0030.00315.08
7.4.320.0050.00316.43
7.4.300.0040.00416.56
7.4.290.0000.00716.40
7.4.280.0000.00716.43
7.4.270.0000.00716.60
7.4.260.0030.00316.58
7.4.250.0070.00016.48
7.4.240.0000.00716.55
7.4.230.0000.00716.38
7.4.220.0110.01116.57
7.4.210.0070.00716.65
7.4.200.0030.00316.38
7.4.160.0070.01116.41
7.4.150.0110.01117.40
7.4.140.0080.00917.86
7.4.130.0150.00516.53
7.4.120.0100.00616.55
7.4.110.0110.00816.51
7.4.100.0130.00316.46
7.4.90.0070.01016.40
7.4.80.0100.00619.39
7.4.70.0100.01016.48
7.4.60.0170.00016.72
7.4.50.0060.00616.66
7.4.40.0060.00916.59
7.4.30.0060.01016.48
7.4.00.0000.01515.16
7.3.330.0030.00313.01
7.3.320.0030.00313.10
7.3.310.0000.00816.18
7.3.300.0030.00316.17
7.3.290.0030.00316.14
7.3.280.0110.00716.24
7.3.270.0090.01217.40
7.3.260.0120.00716.48
7.3.250.0100.00816.21
7.3.240.0080.01016.40
7.3.230.0100.01316.39
7.3.210.0130.00316.23
7.3.200.0050.01116.53
7.3.190.0100.01316.11
7.3.180.0080.00816.56
7.3.170.0120.00316.14
7.3.160.0030.01216.61
7.2.330.0110.00616.81
7.2.320.0080.01216.37
7.2.310.0100.00716.39
7.2.300.0040.01316.76
7.2.290.0070.01416.78
7.2.60.0030.01016.95
7.2.00.0040.00719.12
7.1.200.0060.00615.39
7.1.100.0050.00517.93
7.1.70.0030.00716.95
7.1.60.0070.01719.90
7.1.00.0030.07722.45
7.0.200.0040.00416.91
7.0.70.0100.06019.85
7.0.60.0470.05720.07
7.0.50.0470.06320.36
7.0.40.0530.05720.39
7.0.30.0530.06320.44
7.0.20.0500.05720.37
7.0.10.0130.05320.36
7.0.00.0500.06020.36
5.6.280.0070.07020.91
5.6.220.0070.06720.75
5.6.210.0370.05320.54
5.6.200.0400.06321.10
5.6.190.0430.05720.99
5.6.180.0500.05721.12
5.6.170.0500.05321.16
5.6.160.0500.05321.13
5.6.150.0530.05721.15
5.6.140.0500.05721.09
5.6.130.0570.05721.08
5.6.120.0100.06021.00
5.6.110.0230.05721.09
5.6.100.0570.04721.00
5.6.90.0530.06721.11
5.6.80.0400.06020.54
5.6.70.0070.05720.36
5.6.60.0530.05320.50
5.6.50.0500.05720.44
5.6.40.0530.05320.46
5.6.30.0530.05320.44
5.6.20.0500.06720.36
5.6.10.0530.05720.52
5.6.00.0500.05720.48
5.5.360.0400.05320.49
5.5.350.0470.06020.47
5.5.340.0500.05320.94
5.5.330.0530.05020.98
5.5.320.0430.05720.85
5.5.310.0500.05320.91
5.5.300.0570.04720.84
5.5.290.0530.06020.90
5.5.280.0070.06720.85
5.5.270.0400.06020.91
5.5.260.0470.05720.93
5.5.250.0400.06320.69
5.5.240.0100.06020.35
5.5.230.0270.05720.29
5.5.220.0530.05720.30
5.5.210.0470.05720.38
5.5.200.0600.04020.14
5.5.190.0530.05320.27
5.5.180.0430.06020.18
5.5.160.0500.07020.23
5.5.150.0530.05320.30
5.5.140.0670.04720.17
5.5.130.0630.04720.17
5.5.120.0600.05020.26
5.5.110.0500.05720.18
5.5.100.0600.05020.16
5.5.90.0500.07720.15
5.5.80.0400.06320.12
5.5.70.0430.07020.05
5.5.60.0470.06020.15
5.5.50.0400.06720.09
5.5.40.0530.05020.11
5.5.30.0570.05020.13
5.5.20.0530.05320.14
5.5.10.0430.05720.11
5.5.00.0530.04720.18

preferences:
60.35 ms | 400 KiB | 5 Q