3v4l.org

run code in 300+ PHP versions simultaneously
<?php $_POST = array( 'a' => '11', 'b' => 11, 'c' => 11, 'd' => null, 'e' => null, ); $to_delete = array(0 => false); print_r(array_diff($_POST, $to_delete)); ?>

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.0110.01118.36
8.3.50.0100.01016.52
8.3.40.0030.01218.59
8.3.30.0140.00318.45
8.3.20.0000.00721.65
8.3.10.0060.00320.54
8.3.00.0060.00319.13
8.2.180.0060.01218.29
8.2.170.0120.00322.96
8.2.160.0070.00719.33
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0040.00419.44
8.2.120.0040.00426.35
8.2.110.0030.00619.30
8.2.100.0090.00317.91
8.2.90.0050.00317.75
8.2.80.0040.00418.83
8.2.70.0030.00617.60
8.2.60.0100.00017.37
8.2.50.0050.00217.50
8.2.40.0060.00319.35
8.2.30.0070.00019.17
8.2.20.0030.00518.03
8.2.10.0000.00719.42
8.2.00.0040.00417.98
8.1.280.0090.00625.92
8.1.270.0090.00020.73
8.1.260.0070.00026.35
8.1.250.0040.00428.09
8.1.240.0080.00321.95
8.1.230.0060.00622.77
8.1.220.0000.00818.73
8.1.210.0060.00318.77
8.1.200.0040.00717.23
8.1.190.0000.00817.23
8.1.180.0100.00318.10
8.1.170.0080.00017.62
8.1.160.0040.00418.86
8.1.150.0000.00718.89
8.1.140.0040.00420.13
8.1.130.0060.00020.30
8.1.120.0070.00017.44
8.1.110.0070.00017.42
8.1.100.0040.00417.34
8.1.90.0050.00217.45
8.1.80.0040.00417.44
8.1.70.0000.00917.47
8.1.60.0040.00417.54
8.1.50.0000.00817.52
8.1.40.0000.00717.39
8.1.30.0040.00417.61
8.1.20.0040.00417.64
8.1.10.0000.00717.34
8.1.00.0030.00617.37
8.0.300.0000.00820.08
8.0.290.0060.00316.75
8.0.280.0030.00318.32
8.0.270.0030.00317.16
8.0.260.0030.00318.30
8.0.250.0040.00416.96
8.0.240.0000.00616.82
8.0.230.0030.00616.98
8.0.220.0000.00716.92
8.0.210.0080.00016.77
8.0.200.0030.00316.88
8.0.190.0080.00016.80
8.0.180.0000.00716.85
8.0.170.0050.00316.85
8.0.160.0030.00616.93
8.0.150.0000.00816.87
8.0.140.0000.00716.77
8.0.130.0060.00013.23
8.0.120.0080.00316.89
8.0.110.0000.00916.84
8.0.100.0050.00316.86
8.0.90.0030.00516.71
8.0.80.0090.01216.76
8.0.70.0000.00716.84
8.0.60.0000.00716.82
8.0.50.0000.00816.83
8.0.30.0100.01017.15
8.0.20.0160.01016.98
8.0.10.0040.00416.83
8.0.00.0140.00716.80
7.4.330.0000.00515.55
7.4.320.0050.00216.48
7.4.300.0030.00316.50
7.4.290.0030.00616.39
7.4.280.0040.00416.61
7.4.270.0030.00616.43
7.4.260.0000.00816.45
7.4.250.0000.00716.45
7.4.240.0030.00316.60
7.4.230.0000.00716.69
7.4.220.0040.00416.48
7.4.210.0100.00516.60
7.4.200.0030.00316.49
7.4.160.0080.00816.42
7.4.140.0040.01417.86
7.4.130.0120.01216.37
7.4.120.0090.00916.48
7.4.110.0120.00616.23
7.4.100.0130.01016.35
7.4.90.0150.00316.38
7.4.80.0060.01019.39
7.4.70.0070.01016.30
7.4.60.0030.01316.43
7.4.50.0100.00716.30
7.4.40.0100.00716.35
7.4.00.0060.01015.18
7.3.330.0050.00013.05
7.3.320.0000.00512.93
7.3.310.0030.00315.99
7.3.300.0000.00616.14
7.3.290.0060.00016.05
7.3.280.0090.00916.10
7.3.260.0110.00916.28
7.3.240.0100.01016.18
7.3.230.0070.01016.50
7.3.210.0030.01316.41
7.3.200.0130.00316.47
7.3.190.0110.01116.30
7.3.180.0140.00316.36
7.3.170.0080.01316.21
7.3.160.0160.00016.57
7.3.20.0750.01314.82
7.3.10.0680.00714.68
7.3.00.1060.00314.67
7.2.330.0130.00316.49
7.2.320.0120.00916.53
7.2.310.0080.00816.57
7.2.300.0100.00716.34
7.2.290.0060.01916.58
7.2.150.0760.00614.93
7.2.140.0800.00715.01
7.2.130.1430.00314.96
7.2.120.0610.00314.96
7.2.110.0700.00314.76
7.2.100.0910.01014.69
7.2.90.0900.01314.86
7.2.80.0800.00314.89
7.2.70.1100.00314.97
7.2.60.0890.01615.00
7.2.50.0990.01414.85
7.2.40.0920.01314.98
7.2.30.1130.00615.06
7.2.20.0840.00714.91
7.2.10.0810.00314.52
7.2.00.0960.00714.81
7.1.250.0910.00013.79

preferences:
61.69 ms | 400 KiB | 5 Q