3v4l.org

run code in 300+ PHP versions simultaneously
<?php $var = "some value"; unset($var); $isnull = is_null($var); $isnull2 = ($var === null); $isset = isset($var); var_dump($var); var_dump($isnull); var_dump($isnull2); var_dump($isset);

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.00416.62
8.3.50.0070.00718.26
8.3.40.0120.00318.64
8.3.30.0110.00319.17
8.3.20.0070.00024.18
8.3.10.0000.00824.66
8.3.00.0080.00026.16
8.2.180.0040.01225.92
8.2.170.0040.01218.66
8.2.160.0070.00722.96
8.2.150.0070.00025.66
8.2.140.0080.00024.66
8.2.130.0000.00726.16
8.2.120.0070.00021.13
8.2.110.0090.00020.41
8.2.100.0110.00017.72
8.2.90.0050.00317.75
8.2.80.0060.00318.64
8.2.70.0050.00317.63
8.2.60.0000.00717.90
8.2.50.0050.00318.07
8.2.40.0040.00419.76
8.2.30.0040.00418.05
8.2.20.0000.00720.40
8.2.10.0020.00517.93
8.2.00.0000.00719.12
8.1.280.0070.00725.92
8.1.270.0040.00423.99
8.1.260.0000.00826.35
8.1.250.0070.00028.09
8.1.240.0070.01423.65
8.1.230.0070.00423.94
8.1.220.0040.00417.80
8.1.210.0060.00318.77
8.1.200.0060.00317.23
8.1.190.0000.00717.23
8.1.180.0060.00318.10
8.1.170.0000.00818.52
8.1.160.0030.00518.77
8.1.150.0000.00718.57
8.1.140.0050.00217.38
8.1.130.0000.00718.80
8.1.120.0000.00817.29
8.1.110.0070.00017.39
8.1.100.0040.00417.36
8.1.90.0070.00017.25
8.1.80.0070.00017.38
8.1.70.0030.00317.30
8.1.60.0000.00817.55
8.1.50.0110.00717.31
8.1.40.0110.00717.28
8.1.30.0100.00417.60
8.1.20.0230.00017.57
8.1.10.0190.00517.36
8.1.00.0230.00017.44
8.0.300.0000.00918.88
8.0.290.0000.00916.88
8.0.280.0030.00318.45
8.0.270.0020.00516.73
8.0.260.0030.00318.25
8.0.250.0030.00316.96
8.0.240.0000.00616.92
8.0.230.0080.00016.95
8.0.220.0030.00316.77
8.0.210.0000.00716.88
8.0.200.0030.00516.93
8.0.190.0050.00316.95
8.0.180.0140.00716.88
8.0.170.0140.00416.82
8.0.160.0130.00616.93
8.0.150.0140.00616.66
8.0.140.0170.00316.86
8.0.130.0120.00816.77
8.0.120.0060.01316.77
8.0.110.0210.00016.93
8.0.100.0160.00316.91
8.0.90.0190.00016.76
8.0.80.0130.00716.77
8.0.70.0140.00716.84
8.0.60.0120.00316.76
8.0.50.0000.01016.80
8.0.30.0090.00616.81
8.0.20.0140.00716.81
8.0.10.0210.00016.89
7.4.330.0000.00515.55
7.4.320.0000.00716.50
7.4.300.0050.00216.47
7.4.290.0080.00616.52
7.4.280.0080.00816.50
7.4.270.0070.00416.48
7.4.260.0120.00616.49
7.4.250.0030.00816.54
7.4.240.0110.00316.44
7.4.230.0070.00716.48
7.4.220.0040.00816.47
7.4.210.0070.00716.54
7.4.200.0130.00316.48
7.4.190.0150.00316.39
7.4.180.0140.00316.65
7.4.160.0230.00016.65
7.4.150.0100.00616.59
7.4.140.0150.00416.34
7.4.130.0150.00416.55
7.4.120.0170.00316.39
7.4.110.0210.00016.39
7.4.100.0070.00716.35
7.4.90.0100.00716.39
7.4.80.0120.00616.46
7.4.70.0150.00616.29
7.4.60.0150.00416.51
7.4.50.0130.00916.41
7.4.40.0140.00516.36
7.4.30.0130.00516.46
7.4.20.0170.00316.48
7.4.10.0130.00716.31
7.4.00.0110.00816.31

preferences:
57.14 ms | 400 KiB | 5 Q