3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = ''; $b = null; $isa = is_bool($a) || is_array($a); var_dump($isa, ! trim((string)$a));

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.0150.00418.18
8.3.50.0140.00521.93
8.3.40.0000.01518.55
8.3.30.0090.00618.56
8.3.20.0030.01023.69
8.3.10.0060.00321.77
8.3.00.0030.00619.26
8.2.180.0120.00618.13
8.2.170.0100.01022.96
8.2.160.0100.00320.44
8.2.150.0090.00025.66
8.2.140.0000.00824.66
8.2.130.0080.00017.91
8.2.120.0000.00726.35
8.2.110.0050.00522.24
8.2.100.0090.00317.78
8.2.90.0030.00617.62
8.2.80.0040.00418.03
8.2.70.0000.00818.04
8.2.60.0040.00418.09
8.2.50.0000.00818.10
8.2.40.0080.00020.32
8.2.30.0000.00719.26
8.2.20.0030.00617.96
8.2.10.0040.00418.10
8.2.00.0000.00717.73
8.1.280.0160.00625.92
8.1.270.0040.00423.99
8.1.260.0090.00026.35
8.1.250.0080.00028.09
8.1.240.0060.00323.92
8.1.230.0040.00821.00
8.1.220.0000.00817.74
8.1.210.0030.00618.77
8.1.200.0000.00817.22
8.1.190.0000.00817.11
8.1.180.0000.00918.10
8.1.170.0090.00018.84
8.1.160.0080.00018.84
8.1.150.0040.00420.24
8.1.140.0040.00419.43
8.1.130.0050.00318.85
8.1.120.0070.00017.51
8.1.110.0000.00717.40
8.1.100.0040.00417.44
8.1.90.0000.00717.34
8.1.80.0040.00417.48
8.1.70.0080.00017.38
8.1.60.0000.00817.59
8.1.50.0000.00817.49
8.1.40.0070.00017.39
8.1.30.0050.00317.48
8.1.20.0040.00417.53
8.1.10.0000.00817.34
8.1.00.0040.00417.26
8.0.300.0040.00419.71
8.0.290.0040.00416.63
8.0.280.0000.00818.35
8.0.270.0000.00817.28
8.0.260.0030.00317.23
8.0.250.0030.00316.98
8.0.240.0000.00716.91
8.0.230.0030.00316.94
8.0.220.0070.00016.89
8.0.210.0000.00716.70
8.0.200.0030.00316.95
8.0.190.0050.00216.85
8.0.180.0070.00016.80
8.0.170.0000.00816.90
8.0.160.0000.00716.92
8.0.150.0080.00016.86
8.0.140.0040.00416.90
8.0.130.0030.00313.30
8.0.120.0040.00416.77
8.0.110.0000.00816.75
8.0.100.0000.00716.93
8.0.90.0050.00316.78
8.0.80.0060.00916.86
8.0.70.0040.00416.91
8.0.60.0020.00516.84
8.0.50.0000.00716.78
8.0.30.0120.00616.94
8.0.20.0150.01617.40
8.0.10.0040.00416.96
8.0.00.0130.00416.62
7.4.330.0000.00415.55
7.4.320.0000.00616.51
7.4.300.0030.00316.62
7.4.290.0060.00316.43
7.4.280.0000.00716.48
7.4.270.0030.00316.52
7.4.260.0000.00816.38
7.4.250.0030.00316.45
7.4.240.0040.00416.58
7.4.230.0030.00316.30
7.4.220.0030.01416.66
7.4.210.0030.01016.43
7.4.200.0040.00416.70
7.4.160.0060.00916.46
7.4.150.0110.00617.40
7.4.140.0130.00717.86
7.4.130.0110.00916.50
7.4.120.0050.01516.47
7.4.110.0120.00616.54
7.4.100.0110.01116.64
7.4.90.0030.01416.40
7.4.80.0110.01119.39
7.4.70.0090.00616.54
7.4.60.0060.00916.67
7.4.50.0040.01516.35
7.4.40.0140.00316.45
7.4.30.0110.01116.55
7.4.00.0070.00715.04
7.3.330.0050.00013.02
7.3.320.0020.00213.06
7.3.310.0040.00416.12
7.3.300.0040.00416.07
7.3.290.0050.01016.19
7.3.280.0100.00516.17
7.3.270.0120.00617.40
7.3.260.0140.00716.34
7.3.250.0090.00816.22
7.3.240.0090.01216.25
7.3.230.0040.01216.30
7.3.210.0040.01516.08
7.3.200.0170.00516.35
7.3.190.0090.01316.44
7.3.180.0040.01716.21
7.3.170.0070.01316.50
7.3.160.0090.01216.31
7.3.10.0040.00816.35
7.3.00.0000.01516.28
7.2.330.0130.00616.34
7.2.320.0160.00016.65
7.2.310.0070.01416.50
7.2.300.0120.00916.63
7.2.290.0040.01216.59
7.2.130.0100.00616.73
7.2.120.0000.01316.88
7.2.110.0080.01216.85
7.2.100.0070.00716.68
7.2.90.0060.01117.01
7.2.80.0080.00616.76
7.2.70.0040.01216.64
7.2.60.0090.00716.65
7.2.50.0060.00316.91
7.2.40.0070.00716.93
7.2.30.0000.01216.69
7.2.20.0030.01016.78
7.2.10.0100.00316.62
7.2.00.0080.00416.76
7.1.250.0000.00915.51
7.1.200.0030.00615.57
7.1.70.0090.00017.16
7.1.60.0030.00717.22
7.1.10.0200.05022.35
7.1.00.0170.05322.30
7.0.200.0100.00716.96
7.0.150.0170.05021.85
7.0.140.0100.06321.95
7.0.130.0130.06021.70
7.0.120.0200.06721.87
7.0.110.0130.06721.91
7.0.100.0130.05321.82
7.0.90.0100.09021.94
7.0.80.0230.04721.83
7.0.70.0030.06021.84
7.0.60.0200.05321.59
7.0.50.0070.06021.82
7.0.40.0100.05321.83
7.0.30.0100.05721.94
7.0.20.0200.06021.77
7.0.10.0070.06021.87
7.0.00.0070.06021.80

preferences:
64.48 ms | 401 KiB | 5 Q