3v4l.org

run code in 300+ PHP versions simultaneously
<?php $hello = ['wow' => false]; $yellow = ['wow' => true]; $bellow = $hello + $yellow; var_dump($bellow);

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.70.0100.01018.18
8.3.60.0190.00318.30
8.3.50.0110.00818.15
8.3.40.0110.00418.75
8.3.30.0100.01018.58
8.3.20.0030.00921.66
8.3.10.0030.00521.82
8.3.00.0000.00721.83
8.2.190.0050.00816.63
8.2.180.0130.00616.32
8.2.170.0100.01018.89
8.2.160.0130.00020.35
8.2.150.0150.00324.18
8.2.140.0060.00324.66
8.2.130.0040.00426.16
8.2.120.0000.00819.27
8.2.110.0100.00022.19
8.2.100.0110.00017.72
8.2.90.0000.00718.22
8.2.80.0060.00317.97
8.2.70.0000.00817.93
8.2.60.0040.00418.03
8.2.50.0050.00318.10
8.2.40.0000.00818.95
8.2.30.0040.00420.48
8.2.20.0000.00717.93
8.2.10.0040.00419.22
8.2.00.0040.00418.04
8.1.280.0130.00325.92
8.1.270.0060.00320.65
8.1.260.0040.00426.35
8.1.250.0070.01028.09
8.1.240.0060.00320.90
8.1.230.0080.00422.67
8.1.220.0000.00817.74
8.1.210.0040.00418.84
8.1.200.0060.00317.35
8.1.190.0060.00317.23
8.1.180.0080.00018.10
8.1.170.0050.00318.59
8.1.160.0040.00418.69
8.1.150.0000.00818.89
8.1.140.0040.00418.88
8.1.130.0030.00320.14
8.1.120.0040.00417.37
8.1.110.0000.00817.27
8.1.100.0030.00617.36
8.1.90.0050.00317.24
8.1.80.0070.00017.41
8.1.70.0030.00317.28
8.1.60.0030.00517.55
8.1.50.0000.00717.34
8.1.40.0080.00017.47
8.1.30.0030.00617.59
8.1.20.0000.00817.40
8.1.10.0000.00817.37
8.1.00.0040.00417.27
8.0.300.0070.00019.98
8.0.290.0050.00316.75
8.0.280.0000.00818.23
8.0.270.0000.00717.09
8.0.260.0000.00618.27
8.0.250.0000.00716.86
8.0.240.0000.00816.91
8.0.230.0030.00616.93
8.0.220.0030.00316.87
8.0.210.0000.00816.75
8.0.200.0000.00716.96
8.0.190.0050.00316.98
8.0.180.0070.00016.90
8.0.170.0040.00416.96
8.0.160.0070.00016.90
8.0.150.0000.00816.93
8.0.140.0000.00916.75
8.0.130.0000.00613.29
8.0.120.0030.00616.80
8.0.110.0040.00416.94
8.0.100.0080.00016.82
8.0.90.0040.00416.70
8.0.80.0080.00816.81
8.0.70.0070.00016.70
8.0.60.0000.00716.93
8.0.50.0070.00016.86
8.0.30.0100.00916.95
8.0.20.0160.00316.91
8.0.10.0000.00717.09
8.0.00.0090.00916.68
7.4.330.0020.00216.63
7.4.320.0030.00316.58
7.4.300.0030.00316.51
7.4.290.0030.00316.53
7.4.280.0000.00916.55
7.4.270.0030.00316.38
7.4.260.0080.00016.54
7.4.250.0030.00316.42
7.4.240.0030.00316.54
7.4.230.0000.00716.62
7.4.220.0040.00416.59
7.4.210.0080.00716.52
7.4.200.0030.00316.34
7.4.160.0110.00716.38
7.4.130.0140.00716.47
7.4.120.0070.01116.35
7.4.110.0080.00916.30
7.4.100.0060.01516.26
7.4.90.0060.01316.33
7.4.80.0040.01719.39
7.4.70.0090.01016.30
7.4.60.0090.00616.47
7.4.50.0040.00816.38
7.4.40.0120.00416.43
7.4.00.0080.00614.82
7.3.330.0060.00012.99
7.3.320.0000.00612.98
7.3.310.0070.00016.13
7.3.300.0030.00316.18
7.3.290.0090.00916.14
7.3.280.0100.00616.15
7.3.260.0140.01116.32
7.3.240.0100.01016.36
7.3.230.0140.00316.15
7.3.210.0220.00316.26
7.3.200.0040.01416.58
7.3.190.0130.00316.44
7.3.180.0080.00916.31
7.3.170.0040.01216.57
7.3.160.0060.01316.21
7.3.40.0120.01214.85
7.3.30.0080.00514.62
7.3.20.0110.01116.52
7.3.10.0060.00616.70
7.3.00.0070.00416.48
7.2.330.0090.01616.39
7.2.320.0130.00316.40
7.2.310.0170.00016.57
7.2.300.0180.00416.20
7.2.290.0130.00316.23
7.2.170.0180.00614.89
7.2.160.0110.00314.75
7.2.150.0080.01016.51
7.2.140.0030.00916.65
7.2.130.0140.00016.73
7.2.120.0160.00316.43
7.2.110.0130.00616.67
7.2.100.0000.01216.51
7.2.90.0000.01416.75
7.2.80.0060.00916.74
7.2.70.0130.01016.64
7.2.60.0060.00916.56
7.2.50.0100.00316.89
7.2.40.0120.00316.53
7.2.30.0040.01116.60
7.2.20.0070.00916.81
7.2.10.0000.01216.67
7.2.00.0030.00816.90
7.1.280.0070.00715.65
7.1.270.0050.01215.65
7.1.260.0070.00515.57
7.1.250.0030.00915.70

preferences:
67.55 ms | 401 KiB | 5 Q