3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = array( 'foo' => false, 'bar' => '', 'baz' => null, 'olo' => 0, ); var_dump( isset($arr['foo']), isset($arr['bar']), isset($arr['baz']), isset($arr['olo']), );

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.0120.00616.50
8.3.50.0110.01022.05
8.3.40.0140.00318.76
8.3.30.0140.00019.02
8.3.20.0030.00619.96
8.3.10.0070.00021.83
8.3.00.0040.00420.84
8.2.180.0150.00718.54
8.2.170.0120.00322.96
8.2.160.0030.01022.08
8.2.150.0080.00024.18
8.2.140.0000.00824.66
8.2.130.0070.01126.16
8.2.120.0080.00019.64
8.2.110.0060.00322.27
8.2.100.0040.00817.38
8.2.90.0040.00419.31
8.2.80.0040.00417.97
8.2.70.0000.01017.63
8.2.60.0080.00017.80
8.2.50.0000.00918.07
8.2.40.0000.00818.03
8.2.30.0030.00517.93
8.2.20.0050.00517.72
8.2.10.0040.00417.98
8.2.00.0040.00417.48
8.1.280.0100.01025.92
8.1.270.0090.00020.39
8.1.260.0050.00326.35
8.1.250.0050.00328.09
8.1.240.0110.00017.36
8.1.230.0040.00817.42
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0060.00317.23
8.1.190.0000.00917.10
8.1.180.0030.00618.10
8.1.170.0090.00018.46
8.1.160.0070.00021.94
8.1.150.0040.00418.73
8.1.140.0040.00417.28
8.1.130.0050.00317.80
8.1.120.0000.00717.36
8.1.110.0040.00417.40
8.1.100.0000.00717.41
8.1.90.0000.01017.31
8.1.80.0040.00417.32
8.1.70.0030.00317.27
8.1.60.0000.00817.50
8.1.50.0080.00017.35
8.1.40.0040.00417.49
8.1.30.0030.00617.49
8.1.20.0000.00717.54
8.1.10.0040.00417.32
8.1.00.0000.00817.32
8.0.300.0070.00018.77
8.0.290.0060.00316.63
8.0.280.0000.00718.37
8.0.270.0000.00717.23
8.0.260.0070.00017.06
8.0.250.0070.00016.90
8.0.240.0000.00916.84
8.0.230.0030.00316.78
8.0.220.0000.00716.75
8.0.210.0090.00016.70
8.0.200.0000.00616.89
8.0.190.0070.00016.91
8.0.180.0030.00316.88
8.0.170.0040.00416.91
8.0.160.0000.00816.93
8.0.150.0040.00416.78
8.0.140.0030.00616.75
8.0.130.0000.00513.18
8.0.120.0060.00316.64
8.0.110.0000.00816.84
8.0.100.0000.00716.82
8.0.90.0000.00716.60
8.0.80.0140.00316.80
8.0.70.0000.00816.86
8.0.60.0060.00316.63
8.0.50.0000.00716.71
8.0.30.0080.01316.99
8.0.20.0090.00917.40
8.0.10.0000.00816.82
8.0.00.0120.00716.66
7.4.330.0060.00015.03
7.4.320.0000.00716.44
7.4.300.0020.00516.41
7.4.290.0030.00316.50
7.4.280.0060.00616.36
7.4.270.0030.00316.53
7.4.260.0000.00816.38
7.4.250.0030.00316.44
7.4.240.0030.00516.42
7.4.230.0000.00716.34
7.4.220.0090.00916.42
7.4.210.0040.01116.46
7.4.200.0030.00316.55
7.4.160.0120.00416.23
7.4.150.0140.00417.40
7.4.140.0090.00817.86
7.4.130.0080.00816.35
7.4.120.0070.01016.36
7.4.110.0050.01416.48
7.4.100.0120.01016.44
7.4.90.0060.01216.55
7.4.80.0070.01016.29
7.4.70.0030.01616.28
7.4.60.0120.00416.45
7.4.50.0000.00716.38
7.4.40.0100.01016.27
7.4.30.0150.00416.37
7.3.330.0050.00013.08
7.3.320.0130.00013.10
7.3.310.0070.00016.06
7.3.300.0060.00016.10
7.3.290.0100.00516.18
7.3.280.0080.00916.17
7.3.270.0040.01317.40
7.3.260.0070.01016.41
7.3.250.0090.00916.18
7.3.240.0130.00316.50
7.3.230.0130.00416.39
7.3.210.0030.01316.24
7.3.200.0100.01119.39
7.3.190.0180.00016.02
7.3.180.0080.00816.13
7.3.170.0030.01316.27
7.3.160.0100.00716.12
7.2.330.0100.00716.32
7.2.320.0060.00916.50
7.2.310.0130.00616.14
7.2.300.0140.00316.50
7.2.290.0060.01516.31
5.4.390.0200.05318.79
5.4.380.0170.05318.62
5.4.370.0130.05718.78
5.4.360.0230.05718.77
5.4.350.0130.06318.76
5.4.340.0100.06018.51
5.4.320.0200.05718.72
5.4.310.0130.05318.84
5.4.300.0200.05018.79
5.4.290.0230.04718.84
5.4.280.0100.05718.61
5.4.270.0170.05018.76
5.4.260.0130.05318.46
5.4.250.0200.04718.46
5.4.240.0170.05018.79
5.4.230.0130.05018.75
5.4.220.0100.06018.54
5.4.210.0070.06018.79
5.4.200.0200.04716.67
5.4.190.0170.05018.70
5.4.180.0170.05018.45
5.4.170.0070.06318.51
5.4.160.0030.06318.54
5.4.150.0200.05018.56
5.4.140.0100.05716.27
5.4.130.0100.05316.42
5.4.120.0270.03716.43
5.4.110.0230.04016.29
5.4.100.0170.06716.32
5.4.90.0200.06316.28
5.4.80.0130.06716.30
5.4.70.0070.07716.30
5.4.60.0230.05716.20
5.4.50.0100.06716.25
5.4.40.0170.07016.22
5.4.30.0300.05316.16
5.4.20.0130.05316.28
5.4.10.0170.05016.22
5.4.00.0130.05015.62
5.3.290.0170.06014.75
5.3.280.0170.07314.51
5.3.270.0000.07014.58
5.3.260.0230.06014.63
5.3.250.0230.05714.50
5.3.240.0100.06014.59
5.3.230.0170.07014.70
5.3.220.0200.04714.57
5.3.210.0130.05314.50
5.3.200.0100.05314.48
5.3.190.0100.05714.60
5.3.180.0270.03714.52
5.3.170.0070.06014.66
5.3.160.0270.03714.47
5.3.150.0130.05314.46
5.3.140.0130.05714.47
5.3.130.0170.05314.62
5.3.120.0200.05714.56
5.3.110.0170.05314.46
5.3.100.0130.05713.97
5.3.90.0230.06714.05
5.3.80.0230.04713.98
5.3.70.0170.04713.93
5.3.60.0230.05013.92
5.3.50.0170.05313.94
5.3.40.0070.06013.98
5.3.30.0200.04713.90
5.3.20.0170.04713.67
5.3.10.0170.04713.65
5.3.00.0070.05713.54
5.2.170.0100.04311.20
5.2.160.0070.04311.11
5.2.150.0230.04011.19
5.2.140.0300.04011.28
5.2.130.0400.04011.14
5.2.120.0130.05711.15
5.2.110.0100.05011.13
5.2.100.0200.04311.05
5.2.90.0170.05011.07
5.2.80.0170.04011.07
5.2.70.0130.04011.08
5.2.60.0200.04011.20
5.2.50.0100.04710.97
5.2.40.0100.04311.05
5.2.30.0070.04711.13
5.2.20.0170.03710.89
5.2.10.0130.03710.98
5.2.00.0170.04010.69
5.1.60.0230.02710.02
5.1.50.0100.05010.11
5.1.40.0170.03310.04
5.1.30.0100.03710.34
5.1.20.0030.04010.39
5.1.10.0000.04710.20
5.1.00.0170.03310.09
5.0.50.0070.0308.62
5.0.40.0070.0278.47
5.0.30.0070.0438.23
5.0.20.0070.0278.23
5.0.10.0000.0378.30
5.0.00.0070.0438.34
4.4.90.0030.0235.88
4.4.80.0070.0205.93
4.4.70.0030.0275.91
4.4.60.0030.0275.89
4.4.50.0000.0305.87
4.4.40.0070.0335.87
4.4.30.0100.0175.91
4.4.20.0100.0205.89
4.4.10.0100.0175.97
4.4.00.0170.0235.97
4.3.110.0030.0235.76
4.3.100.0070.0205.83
4.3.90.0070.0205.84
4.3.80.0030.0375.84
4.3.70.0030.0235.79
4.3.60.0030.0235.89
4.3.50.0070.0305.77
4.3.40.0070.0405.78
4.3.30.0030.0274.86
4.3.20.0000.0234.86
4.3.10.0030.0234.86
4.3.00.0200.03314.62

preferences:
30.28 ms | 401 KiB | 5 Q