3v4l.org

run code in 300+ PHP versions simultaneously
<?php $plan = [ [ 'id' => 2, 'subscr_unit' => 'D', 'subscr_period' => '', 'subscr_fee' => '' ], [ 'id' => 3, 'subscr_unit' => 'M,Y', 'subscr_period' => '1,1', 'subscr_fee' => '90,1000' ], [ 'id' => 32, 'subscr_unit' => 'M,Y', 'subscr_period' => '1,1', 'subscr_fee' => '150,1500' ], ]; var_export(array_column($plan, null, 'id'));

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.0040.01116.50
8.3.50.0070.01016.42
8.3.40.0180.00418.61
8.3.30.0080.00618.54
8.3.20.0040.00420.78
8.3.10.0050.00322.13
8.3.00.0040.00421.76
8.2.180.0070.01318.16
8.2.170.0150.00622.96
8.2.160.0000.01722.30
8.2.150.0070.00324.18
8.2.140.0040.00424.66
8.2.130.0070.00026.16
8.2.120.0040.00426.16
8.2.110.0000.00919.30
8.2.100.0090.00317.66
8.2.90.0000.00819.05
8.2.80.0000.00817.97
8.2.70.0050.00317.63
8.2.60.0040.00417.91
8.2.50.0000.00818.07
8.2.40.0070.00018.03
8.2.30.0000.00917.96
8.2.20.0070.00017.93
8.2.10.0040.00419.23
8.2.00.0040.00419.18
8.1.280.0030.01025.92
8.1.270.0060.00323.73
8.1.260.0070.00026.35
8.1.250.0090.00028.09
8.1.240.0070.00321.31
8.1.230.0080.00817.45
8.1.220.0000.00717.74
8.1.210.0030.00618.77
8.1.200.0060.00317.22
8.1.190.0050.00317.23
8.1.180.0040.00418.10
8.1.170.0030.00518.61
8.1.160.0040.00418.79
8.1.150.0000.00818.61
8.1.140.0000.00720.62
8.1.130.0040.00422.09
8.1.120.0070.00017.32
8.1.110.0000.00917.42
8.1.100.0040.00417.36
8.1.90.0030.00517.40
8.1.80.0000.00717.40
8.1.70.0030.00317.27
8.1.60.0030.00617.48
8.1.50.0030.00717.34
8.1.40.0030.00617.47
8.1.30.0060.00317.58
8.1.20.0000.00817.50
8.1.10.0080.00017.47
8.1.00.0000.00817.39
8.0.300.0040.00418.77
8.0.290.0000.00716.58
8.0.280.0030.00620.13
8.0.270.0030.00317.88
8.0.260.0060.00019.89
8.0.250.0030.00316.81
8.0.240.0040.00416.95
8.0.230.0000.00716.89
8.0.220.0070.00016.70
8.0.210.0030.00316.93
8.0.200.0000.00716.86
8.0.190.0030.00316.86
8.0.180.0000.00816.75
8.0.170.0060.00616.81
8.0.160.0030.00616.93
8.0.150.0000.00716.79
8.0.140.0030.00716.71
8.0.130.0030.00313.25
8.0.120.0040.00416.70
8.0.110.0000.00716.63
8.0.100.0000.00716.69
8.0.90.0000.00916.88
8.0.80.0130.00516.82
8.0.70.0030.00516.72
8.0.60.0000.00716.64
8.0.50.0040.00416.70
8.0.30.0100.00716.78
8.0.20.0060.01217.08
8.0.10.0030.00516.94
8.0.00.0130.01016.66
7.4.330.0040.00016.88
7.4.320.0060.00016.40
7.4.300.0000.00716.54
7.4.290.0060.00316.52
7.4.280.0000.00816.55
7.4.270.0070.00016.46
7.4.260.0020.00415.37
7.4.250.0000.00716.55
7.4.240.0050.00216.47
7.4.230.0040.00416.39
7.4.220.0010.00616.50
7.4.210.0080.00716.55
7.4.200.0070.01416.54
7.4.130.0090.00916.43
7.4.120.0060.01516.25
7.4.110.0060.01216.28
7.4.100.0140.00716.40
7.4.90.0070.01016.41
7.4.80.0070.01119.39
7.4.70.0130.00316.28
7.4.60.0080.00816.37
7.4.50.0000.01416.38
7.4.40.0060.01016.46
7.4.10.0100.00714.66
7.4.00.0120.00614.59
7.3.330.0000.00616.21
7.3.320.0060.00012.87
7.3.310.0070.00015.98
7.3.300.0030.00316.04
7.3.290.0100.00616.13
7.3.280.0160.00316.18
7.3.260.0070.01116.23
7.3.240.0090.00716.28
7.3.230.0070.01515.99
7.3.210.0160.00016.35
7.3.200.0150.00616.13
7.3.190.0080.00816.60
7.3.180.0040.01116.17
7.3.170.0070.01116.53
7.3.160.0060.01116.23
7.3.130.0030.01214.57
7.3.120.0100.00314.47
7.3.110.0040.00914.69
7.3.100.0070.01114.73
7.3.90.0070.00714.25
7.3.80.0140.00014.52
7.3.70.0080.00814.41
7.3.60.0120.00914.60
7.3.50.0090.00614.51
7.3.40.0090.00614.52
7.3.30.0040.01114.43
7.3.20.0060.00914.36
7.3.10.0110.00414.82
7.3.00.0060.00914.39
7.2.330.0080.00816.38
7.2.320.0030.02016.22
7.2.310.0110.01116.31
7.2.300.0160.00616.20
7.2.290.0040.01216.25
7.2.260.0060.01114.63
7.2.250.0050.00814.51
7.2.240.0060.00914.59
7.2.230.0070.01414.68
7.2.220.0140.00314.58
7.2.210.0030.01314.39
7.2.200.0050.01114.83
7.2.190.0090.00614.56
7.2.180.0140.00314.79
7.2.170.0000.01414.66
7.2.160.0120.00314.57
7.2.150.0060.00914.88
7.2.140.0420.00614.72
7.2.130.0090.00614.63
7.2.120.0030.01314.58
7.2.110.0030.01214.41
7.2.100.0100.00614.66
7.2.90.0070.00814.79
7.2.80.0110.00814.88
7.2.70.0030.01214.68
7.2.60.0120.00314.80
7.2.50.0030.01214.70
7.2.40.0120.00314.57
7.2.30.0030.01514.53
7.2.20.0030.01314.48
7.2.10.0120.00314.55
7.2.00.0140.00714.77

preferences:
60.36 ms | 400 KiB | 5 Q