3v4l.org

run code in 300+ PHP versions simultaneously
<?php $vuong = [1, 2, 3]; unset($vuong[2]); array_push($vuong, 3); print_r($vuong);

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.130.0050.00318.37
8.3.120.0070.00418.76
8.3.110.0070.01316.28
8.3.100.0040.00424.06
8.3.90.0000.00916.61
8.3.80.0030.00617.97
8.3.70.0090.00616.61
8.3.60.0070.00718.43
8.3.50.0070.00817.32
8.3.40.0070.00718.79
8.3.30.0120.00318.71
8.3.20.0070.00022.33
8.3.10.0040.00420.34
8.3.00.0040.00423.66
8.2.250.0090.00916.85
8.2.240.0100.01017.14
8.2.230.0030.00620.94
8.2.220.0090.00037.54
8.2.210.0060.00326.77
8.2.200.0040.00716.38
8.2.190.0070.01018.16
8.2.180.0040.01118.29
8.2.170.0130.00618.96
8.2.160.0100.00722.96
8.2.150.0090.00024.18
8.2.140.0090.00024.66
8.2.130.0040.00426.16
8.2.120.0040.00421.09
8.2.110.0060.00321.04
8.2.100.0110.00017.91
8.2.90.0040.00417.75
8.2.80.0040.00417.97
8.2.70.0000.00817.90
8.2.60.0050.00317.80
8.2.50.0050.00318.05
8.2.40.0060.00319.36
8.2.30.0000.00719.17
8.2.20.0000.00817.97
8.2.10.0000.00719.23
8.2.00.0000.00819.05
8.1.300.0060.01017.79
8.1.290.0060.00318.88
8.1.280.0070.00725.92
8.1.270.0070.00720.61
8.1.260.0040.00426.35
8.1.250.0050.00328.09
8.1.240.0090.00321.89
8.1.230.0040.00720.92
8.1.220.0030.00617.74
8.1.210.0000.00918.77
8.1.200.0040.00417.35
8.1.190.0060.00318.85
8.1.180.0090.00018.10
8.1.170.0000.00818.65
8.1.160.0030.00520.52
8.1.150.0000.00818.72
8.1.140.0070.00020.79
8.1.130.0030.00317.36
8.1.120.0040.00417.34
8.1.110.0050.00217.29
8.1.100.0050.00517.33
8.1.90.0060.00617.39
8.1.80.0100.00217.30
8.1.70.0070.00617.34
8.1.60.0100.00217.36
8.1.50.0080.00417.40
8.1.40.0150.00317.42
8.1.30.0050.00817.48
8.1.20.0110.00317.48
8.1.10.0060.00617.42
8.1.00.0110.00617.38
8.0.300.0050.00319.64
8.0.290.0080.00016.75
8.0.280.0000.00818.25
8.0.270.0030.00317.11
8.0.260.0000.00816.66
8.0.250.0000.00716.90
8.0.240.0000.00616.86
8.0.230.0020.00516.70
8.0.220.0060.00616.75
8.0.210.0070.00416.72
8.0.200.0050.00616.78
8.0.190.0090.00116.80
8.0.180.0100.00216.76
8.0.170.0080.00416.86
8.0.160.0070.00416.76
8.0.150.0060.00616.65
8.0.140.0050.00616.71
8.0.130.0080.00715.54
8.0.120.0110.00316.71
8.0.110.0090.00416.67
8.0.100.0080.00616.76
8.0.90.0120.00216.67
8.0.80.0130.00516.75
8.0.70.0070.00716.68
8.0.60.0080.00516.69
8.0.50.0080.00316.73
8.0.30.0080.00616.81
8.0.20.0120.00816.87
8.0.10.0070.00516.83
8.0.00.0100.00816.84
7.4.330.0000.00415.55
7.4.320.0040.00416.48
7.4.300.0080.00116.46
7.4.290.0070.00516.55
7.4.280.0040.00716.57
7.4.270.0070.00316.48
7.4.260.0030.00715.40
7.4.250.0120.00316.53
7.4.240.0070.00616.53
7.4.230.0090.00516.54
7.4.220.0080.00316.45
7.4.210.0090.00616.50
7.4.200.0090.00416.52
7.4.190.0110.00316.60
7.4.180.0120.00316.50
7.4.160.0120.00416.51
7.4.150.0140.00316.47
7.4.140.0100.00616.83
7.4.130.0110.00716.47
7.4.120.0120.00516.41
7.4.110.0100.00616.29
7.4.100.0150.00216.38
7.4.90.0080.00816.33
7.4.80.0100.00617.32
7.4.70.0080.00716.46
7.4.60.0100.00616.44
7.4.50.0080.00816.20
7.4.40.0100.00716.29
7.4.30.0090.00616.21
7.4.20.0110.00316.23
7.4.10.0120.00116.27
7.4.00.0110.00215.88
7.3.330.0050.00316.13
7.3.320.0100.00115.05
7.3.310.0090.00316.12
7.3.300.0060.00516.13
7.3.290.0110.00216.05
7.3.280.0140.00316.25
7.3.270.0060.00616.25
7.3.260.0120.00716.29
7.3.250.0140.00316.17
7.3.240.0090.00816.26
7.3.230.0060.00816.19
7.3.220.0020.01016.17
7.3.210.0090.00516.05
7.3.200.0110.00216.24
7.3.190.0080.00416.13
7.3.180.0090.00516.10
7.3.170.0130.00416.12
7.3.160.0120.00416.21
7.3.150.0120.00516.17
7.3.140.0150.00216.02
7.3.130.0100.00616.08
7.3.120.0130.00315.97
7.3.110.0120.00516.05
7.3.100.0080.00715.33
7.3.90.0120.00515.42
7.3.80.0080.00715.30
7.3.70.0080.00715.24
7.3.60.0090.00515.35
7.3.50.0140.00315.26
7.3.40.0100.00515.32
7.3.30.0070.00815.32
7.3.20.0110.00615.73
7.3.10.0110.00615.62
7.3.00.0330.00615.69
7.2.340.0120.00516.04
7.2.330.0080.00916.13
7.2.320.0110.00716.27
7.2.310.0120.00616.28
7.2.300.0130.00416.25
7.2.290.0130.00416.22
7.2.280.0160.00216.10
7.2.270.0090.00816.16
7.2.260.0110.00516.02
7.2.250.0110.00515.96
7.2.240.0140.00215.98
7.2.230.0130.00315.54
7.2.220.0080.00815.47
7.2.210.0090.00615.35
7.2.200.0090.00615.36
7.2.190.0100.00615.34
7.2.180.0100.00615.39
7.2.170.0120.00415.43
7.2.160.0090.00615.39
7.2.150.0100.00815.69
7.2.140.0110.00715.83
7.2.130.0100.00815.93
7.2.120.0100.00815.77
7.2.110.0100.00815.90
7.2.100.0110.00715.78
7.2.90.0110.00815.93
7.2.80.0110.00615.76
7.2.70.0110.00615.86
7.2.60.0180.00415.82
7.2.50.0150.00415.71
7.2.40.0080.01015.88
7.2.30.0130.00515.82
7.2.20.0090.00915.94
7.2.10.0110.00515.84
7.2.00.0110.00615.93
7.1.330.0120.00516.23
7.1.320.0130.00315.01
7.1.310.0090.00614.92
7.1.300.0120.00414.94
7.1.290.0080.00814.87
7.1.280.0110.00714.92
7.1.270.0100.00714.76
7.1.260.0120.00514.85
7.1.250.0080.00914.93
7.1.240.0110.00516.32
7.1.230.0110.00516.30
7.1.220.0140.00316.40
7.1.210.0140.00316.33
7.1.200.0140.00316.42
7.1.190.0120.00516.36
7.1.180.0250.00316.28
7.1.170.0110.00616.21
7.1.160.0110.00616.21
7.1.150.0150.00216.36
7.1.140.0150.00316.21
7.1.130.0110.00616.25
7.1.120.0140.00316.21
7.1.110.0120.00516.23
7.1.100.0150.00116.30
7.1.90.0150.00216.25
7.1.80.0140.00316.42
7.1.70.0150.00416.14
7.1.60.0110.00616.26
7.1.50.0160.00016.31
7.1.40.0150.00216.33
7.1.30.0120.00516.19
7.1.20.0140.00316.44
7.1.10.0130.00416.36
7.1.00.0150.00116.25

preferences:
28.29 ms | 403 KiB | 5 Q