3v4l.org

run code in 300+ PHP versions simultaneously
<?php register_shutdown_function(function () { $hookInfo = [function () {}]; $hooks[][] = [$hookInfo]; }); $options = [ 'sort' => [] ]; $defaultOption = ['sort' => []]; $sort = &$options['sort']; $sort['direction'] = 'asc'; $val = array_merge($defaultOption, $options); extract($val); print_r($val);

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.0090.00918.84
8.3.30.0110.00418.71
8.3.20.0000.00820.57
8.3.10.0050.00323.57
8.3.00.0000.00922.46
8.2.170.0070.00719.04
8.2.160.0120.00322.96
8.2.150.0040.00424.18
8.2.140.0090.00024.66
8.2.130.0040.00418.03
8.2.120.0060.00326.35
8.2.110.0000.01122.11
8.2.100.0060.00617.84
8.2.90.0090.00017.75
8.2.80.0040.00418.05
8.2.70.0030.00617.63
8.2.60.0080.00018.05
8.2.50.0050.00318.07
8.2.40.0120.00018.22
8.2.30.0000.00918.13
8.2.20.0060.00318.05
8.2.10.0040.00419.35
8.2.00.0040.00418.05
8.1.270.0140.01022.09
8.1.260.0060.00326.35
8.1.250.0080.00028.09
8.1.240.0030.00622.47
8.1.230.0070.00420.88
8.1.220.0040.00417.78
8.1.210.0040.00418.77
8.1.200.0030.00617.25
8.1.190.0000.01017.22
8.1.180.0000.00918.10
8.1.170.0070.00418.56
8.1.160.0000.00818.89
8.1.150.0080.00018.90
8.1.140.0040.00422.14
8.1.130.0060.00317.40
8.1.120.0040.00417.49
8.1.110.0040.00417.49
8.1.100.0000.00717.45
8.1.90.0000.00717.35
8.1.80.0000.00717.51
8.1.70.0120.00017.48
8.1.60.0000.00817.55
8.1.50.0030.00617.54
8.1.40.0040.00417.55
8.1.30.0000.00817.70
8.1.20.0050.00517.63
8.1.10.0040.00417.55
8.1.00.0060.00317.45
8.0.300.0040.00420.02
8.0.290.0060.00316.63
8.0.280.0000.00718.45
8.0.270.0030.00316.84
8.0.260.0060.00016.89
8.0.250.0070.00016.88
8.0.240.0000.00716.93
8.0.230.0040.00416.88
8.0.220.0040.00416.92
8.0.210.0030.00316.86
8.0.200.0030.00516.98
8.0.190.0040.00416.82
8.0.180.0000.00716.92
8.0.170.0040.00416.82
8.0.160.0060.00316.90
8.0.150.0040.00416.84
8.0.140.0030.00516.89
8.0.130.0000.00513.38
8.0.120.0000.00716.84
8.0.110.0050.00316.88
8.0.100.0070.00016.95
8.0.90.0070.00016.90
8.0.80.0030.01316.88
8.0.70.0000.00716.93
8.0.60.0040.00416.80
8.0.50.0070.00016.87
8.0.30.0100.00717.09
8.0.20.0070.01616.86
8.0.10.0000.00716.91
8.0.00.0070.01316.76
7.4.330.0000.00516.72
7.4.320.0030.00316.56
7.4.300.0060.00016.53
7.4.290.0080.00316.41
7.4.280.0040.00416.52
7.4.270.0040.00416.53
7.4.260.0000.00716.57
7.4.250.0030.00316.58
7.4.240.0030.00516.58
7.4.230.0070.00016.39
7.4.220.0050.00316.63
7.4.210.0090.00616.62
7.4.200.0070.00016.53
7.4.160.0080.00816.54
7.4.140.0130.01017.86
7.4.130.0090.00916.64
7.4.120.0180.00316.67
7.4.110.0080.00816.47
7.4.100.0150.00316.36
7.4.90.0030.01316.47
7.4.80.0070.01519.39
7.4.70.0060.01216.72
7.4.60.0040.01416.38
7.4.50.0100.00616.64
7.4.40.0070.01416.52
7.4.00.0090.00814.88
7.3.330.0060.00013.33
7.3.320.0050.00013.32
7.3.310.0030.00316.35
7.3.300.0000.00716.36
7.3.290.0050.01016.33
7.3.280.0070.01116.32
7.3.260.0090.00916.45
7.3.240.0080.01016.52
7.3.230.0140.00316.30
7.3.210.0120.01116.34
7.3.200.0030.01216.28
7.3.190.0090.00616.57
7.3.180.0100.00716.34
7.3.170.0070.01116.27
7.3.160.0110.00616.39
7.3.120.0090.00915.02
7.3.110.0030.01414.98
7.3.100.0110.00314.81
7.3.90.0090.00314.80
7.3.80.0070.00714.71
7.3.70.0040.00714.56
7.3.60.0040.00714.80
7.3.50.0100.00914.81
7.3.40.0050.00814.88
7.3.30.0080.00814.84
7.3.20.0350.00615.47
7.3.10.0380.00315.30
7.3.00.0350.00415.48
7.2.330.0100.01616.66
7.2.320.0060.01216.70
7.2.310.0110.00616.51
7.2.300.0110.00616.38
7.2.290.0190.00316.75
7.2.250.0130.00714.79
7.2.240.0100.01014.84
7.2.230.0030.01114.95
7.2.220.0060.00915.13
7.2.210.0040.01114.79
7.2.200.0070.00415.00
7.2.190.0000.01215.05
7.2.180.0070.00714.77
7.2.170.0080.00515.06
7.2.160.0080.01215.03
7.2.150.0500.00714.94
7.2.140.0480.00815.08
7.2.130.1610.01015.05
7.2.120.0380.01015.05
7.2.110.0510.00415.04
7.2.100.0460.00315.07
7.2.90.0450.00315.07
7.2.80.0420.00915.00
7.2.70.0500.00315.02
7.2.60.0390.00615.08
7.2.50.0460.00315.04
7.2.40.0400.00814.95
7.2.30.0410.00215.09
7.2.20.0450.00614.86
7.2.10.0490.00315.04
7.2.00.0420.01014.97
7.1.330.0070.00715.97
7.1.320.0140.00015.91
7.1.310.0090.00615.70
7.1.300.0100.00715.59
7.1.290.0070.00715.75
7.1.280.0090.00614.76
7.1.270.0640.00914.39
7.1.260.0380.00714.50
7.1.250.0430.00813.97

preferences:
60.01 ms | 400 KiB | 5 Q