3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test = [1,2,3,4]; $new = array($test, 'abc'); var_dump($new);

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.0070.01418.31
8.3.50.0110.00318.06
8.3.40.0100.00618.64
8.3.30.0060.00918.42
8.3.20.0070.00021.60
8.3.10.0040.00423.65
8.3.00.0050.00323.71
8.2.180.0120.00616.50
8.2.170.0130.00618.80
8.2.160.0100.00322.96
8.2.150.0070.00024.18
8.2.140.0080.00024.66
8.2.130.0080.00017.91
8.2.120.0040.00426.35
8.2.110.0030.00622.29
8.2.100.0000.01117.78
8.2.90.0050.00317.75
8.2.80.0000.00817.97
8.2.70.0000.00817.93
8.2.60.0020.00518.04
8.2.50.0000.00818.10
8.2.40.0060.00319.36
8.2.30.0040.00419.15
8.2.20.0050.00217.92
8.2.10.0070.00019.35
8.2.00.0080.00019.50
8.1.280.0090.01225.92
8.1.270.0030.00518.89
8.1.260.0080.00026.35
8.1.250.0070.00028.09
8.1.240.0060.00322.20
8.1.230.0040.00819.08
8.1.220.0060.00317.74
8.1.210.0080.00018.77
8.1.200.0000.00917.23
8.1.190.0050.00221.98
8.1.180.0030.00618.10
8.1.170.0080.00018.67
8.1.160.0050.00218.98
8.1.150.0000.00718.74
8.1.140.0050.00223.91
8.1.130.0070.00017.43
8.1.120.0050.00517.47
8.1.110.0000.00717.40
8.1.100.0040.00317.27
8.1.90.0060.00317.46
8.1.80.0000.00717.44
8.1.70.0000.00717.45
8.1.60.0050.00317.61
8.1.50.0040.00417.49
8.1.40.0040.00417.55
8.1.30.0000.00817.61
8.1.20.0000.00717.63
8.1.10.0000.00717.52
8.1.00.0040.00417.46
8.0.300.0070.00018.77
8.0.290.0040.00416.58
8.0.280.0000.00718.43
8.0.270.0040.00417.24
8.0.260.0000.00716.72
8.0.250.0030.00316.93
8.0.240.0040.00416.98
8.0.230.0070.00016.95
8.0.220.0000.00716.86
8.0.210.0030.00316.73
8.0.200.0000.00616.84
8.0.190.0040.00416.82
8.0.180.0050.00316.79
8.0.170.0030.00616.77
8.0.160.0040.00416.88
8.0.150.0070.00016.82
8.0.140.0000.00716.88
8.0.130.0000.00513.28
8.0.120.0000.00716.87
8.0.110.0000.00716.78
8.0.100.0070.00016.98
8.0.90.0000.00716.94
8.0.80.0090.00616.87
8.0.70.0000.00716.76
8.0.60.0040.00416.86
8.0.50.0030.00516.91
8.0.30.0120.00617.03
8.0.20.0150.00517.40
8.0.10.0000.00817.06
8.0.00.0110.00716.72
7.4.330.0050.00016.67
7.4.320.0060.00016.42
7.4.300.0060.00016.55
7.4.290.0030.00716.40
7.4.280.0040.00416.41
7.4.270.0040.00416.54
7.4.260.0000.00716.44
7.4.250.0040.00416.50
7.4.240.0030.00516.63
7.4.230.0070.00016.38
7.4.220.0030.00616.60
7.4.210.0110.00316.56
7.4.200.0000.00716.59
7.4.160.0070.00716.55
7.4.140.0110.00617.86
7.4.130.0070.01016.62
7.4.120.0040.01316.29
7.4.110.0090.00916.34
7.4.100.0130.00616.55
7.4.90.0070.01116.48
7.4.80.0100.00919.39
7.4.70.0060.01016.43
7.4.60.0080.01516.44
7.4.50.0040.00716.54
7.4.40.0100.00716.28
7.4.00.0070.00914.87
7.3.330.0000.00513.18
7.3.320.0000.00613.04
7.3.310.0070.00016.25
7.3.300.0030.00316.15
7.3.290.0040.00416.29
7.3.280.0080.00716.26
7.3.260.0110.00816.30
7.3.240.0110.00716.32
7.3.230.0130.00316.18
7.3.210.0070.01016.45
7.3.200.0140.00616.36
7.3.190.0120.00916.36
7.3.180.0090.00916.16
7.3.170.0120.00916.13
7.3.160.0090.01216.35
7.3.120.0070.01014.52
7.3.110.0090.00614.82
7.3.100.0030.01014.52
7.3.90.0080.00414.80
7.3.80.0000.00814.73
7.3.70.0120.00414.66
7.3.60.0070.00714.76
7.3.50.0060.01014.91
7.3.40.0110.00614.66
7.3.30.0070.00614.80
7.3.20.0030.00616.67
7.3.10.0060.01016.36
7.3.00.0980.01215.50
7.2.330.0090.00916.20
7.2.320.0110.00716.65
7.2.310.0120.00616.56
7.2.300.0090.01216.54
7.2.290.0030.01316.69
7.2.250.0110.00315.04
7.2.240.0000.01914.63
7.2.230.0070.00715.03
7.2.220.0070.00714.64
7.2.210.0060.00914.69
7.2.200.0070.00714.61
7.2.190.0080.00614.93
7.2.180.0030.01314.87
7.2.170.0090.00614.96
7.2.130.1250.00314.96
7.2.120.0830.00714.75
7.2.110.0770.01314.93
7.2.100.1180.00714.88
7.2.90.0760.01314.95
7.2.80.1090.00014.75
7.2.70.0800.01114.89
7.2.60.0860.00615.00
7.2.50.1320.01314.67
7.2.40.0930.00714.86
7.2.30.0210.00714.98
7.2.20.0110.00715.06
7.2.10.1380.00314.79
7.2.00.0650.00314.88
7.1.330.0060.00615.87
7.1.320.0040.00415.69
7.1.310.0040.01115.73
7.1.300.0040.01115.68
7.1.290.0040.01115.83
7.1.280.0070.01015.66
7.1.270.0060.00315.93
7.1.260.0030.01015.80
7.1.250.1220.01413.98
7.0.330.1020.01013.49
5.6.380.0060.00913.72

preferences:
36.9 ms | 400 KiB | 5 Q