3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = ['test' => 'abc']; $int = 40; is_array($array);

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.40.0070.01018.68
8.3.30.0030.01118.43
8.3.20.0080.00024.18
8.3.10.0040.00424.66
8.3.00.0050.00326.16
8.2.170.0040.01118.78
8.2.160.0100.00322.96
8.2.150.0040.00425.66
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0040.00419.64
8.2.110.0060.00320.47
8.2.100.0090.00319.33
8.2.90.0030.00617.75
8.2.80.0000.00818.78
8.2.70.0070.00317.38
8.2.60.0080.00017.90
8.2.50.0060.00318.05
8.2.40.0000.00919.82
8.2.30.0040.00417.97
8.2.20.0080.00017.86
8.2.10.0000.00819.23
8.2.00.0000.00819.23
8.1.270.0000.00723.99
8.1.260.0040.00426.35
8.1.250.0000.00728.09
8.1.240.0060.00323.88
8.1.230.0030.00920.91
8.1.220.0030.00517.74
8.1.210.0030.00618.77
8.1.200.0090.00017.22
8.1.190.0080.00017.23
8.1.180.0090.00018.10
8.1.170.0000.00818.54
8.1.160.0050.00219.06
8.1.150.0000.00818.80
8.1.140.0030.00318.87
8.1.130.0030.00320.02
8.1.120.0000.00817.27
8.1.110.0000.00717.30
8.1.100.0000.00817.40
8.1.90.0080.00017.27
8.1.80.0000.00717.38
8.1.70.0000.00917.36
8.1.60.0060.00317.39
8.1.50.0030.00617.41
8.1.40.0030.00917.45
8.1.30.0040.00417.53
8.1.20.0080.00017.58
8.1.10.0050.00317.48
8.1.00.0060.00317.44
8.0.300.0060.00318.77
8.0.290.0080.00016.63
8.0.280.0030.00318.29
8.0.270.0070.00017.84
8.0.260.0030.00518.24
8.0.250.0000.00716.92
8.0.240.0060.00016.77
8.0.230.0040.00416.90
8.0.220.0030.00316.80
8.0.210.0070.00016.88
8.0.200.0030.00316.76
8.0.190.0030.00516.88
8.0.180.0050.00316.80
8.0.170.0030.00616.79
8.0.160.0000.00816.81
8.0.150.0050.00316.79
8.0.140.0070.00416.83
8.0.130.0030.00313.23
8.0.120.0080.00316.69
8.0.110.0070.00016.64
8.0.100.0030.00316.61
8.0.90.0030.00316.93
8.0.80.0090.00916.79
8.0.70.0040.00416.87
8.0.60.0000.00716.88
8.0.50.0000.00816.68
8.0.30.0070.01316.74
8.0.20.0090.00916.82
8.0.10.0030.01216.91
8.0.00.0150.00316.95
7.4.330.0060.00015.55
7.4.320.0070.00016.36
7.4.300.0070.00016.53
7.4.290.0070.00016.32
7.4.280.0000.00716.43
7.4.270.0030.00316.59
7.4.260.0000.00513.24
7.4.250.0040.00416.25
7.4.240.0070.00016.54
7.4.230.0030.00316.41
7.4.220.0030.00316.37
7.4.210.0060.00816.44
7.4.200.0000.00716.55
7.4.160.0090.00916.46
7.4.150.0090.00616.40
7.4.140.0030.01216.46
7.4.130.0110.00516.57
7.4.120.0080.00816.50
7.4.110.0060.00916.48
7.4.100.0040.01116.59
7.4.90.0060.00916.45
7.4.80.0030.01216.54
7.4.70.0090.00616.30
7.4.60.0100.00916.45
7.4.50.0070.00716.23
7.4.40.0030.01216.32
7.4.30.0000.01516.29
7.4.20.0120.00316.18
7.4.10.0030.01616.41
7.4.00.0140.00816.30
7.3.330.0000.00816.08
7.3.320.0000.00512.89
7.3.310.0000.00715.99
7.3.300.0030.00316.11
7.3.290.0120.00716.12
7.3.270.0120.00616.03
7.3.260.0080.00916.13
7.3.250.0090.00616.15
7.3.240.0090.00616.06
7.3.230.0090.00616.06
7.3.220.0000.01416.06
7.3.210.0030.01016.09
7.3.200.0100.01316.08
7.3.190.0090.00616.11
7.3.180.0060.01316.01
7.3.170.0030.01116.11
7.3.160.0040.01116.09
7.3.150.0100.00716.04
7.3.140.0160.00616.02
7.3.130.0050.01716.09
7.3.120.0040.01216.11
7.3.110.0120.00316.00
7.3.100.0060.00916.02
7.3.90.0070.01016.30
7.3.80.0100.01016.12
7.3.70.0060.01316.17
7.3.60.0090.01216.19
7.3.50.0120.00816.22
7.3.40.0030.01116.19
7.3.30.0130.00816.22
7.3.20.0110.01116.26
7.3.10.0110.00816.17
7.3.00.0090.00616.22

preferences:
56.23 ms | 400 KiB | 5 Q