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' => 2, '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.0000.01418.30
8.3.50.0040.01416.37
8.3.40.0070.00718.54
8.3.30.0070.00718.67
8.3.20.0000.00720.77
8.3.10.0050.00322.05
8.3.00.0030.00521.95
8.2.180.0100.00718.26
8.2.170.0110.00322.96
8.2.160.0110.00422.13
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0080.00026.16
8.2.110.0030.00722.13
8.2.100.0080.00317.72
8.2.90.0070.00318.94
8.2.80.0060.00617.97
8.2.70.0050.00517.63
8.2.60.0000.00917.90
8.2.50.0030.00518.07
8.2.40.0040.00418.11
8.2.30.0040.00417.88
8.2.20.0000.00718.02
8.2.10.0000.00719.19
8.2.00.0000.00819.22
8.1.280.0070.00725.92
8.1.270.0040.00420.73
8.1.260.0090.00926.35
8.1.250.0000.00728.09
8.1.240.0140.00724.00
8.1.230.0060.00618.87
8.1.220.0040.00417.76
8.1.210.0080.00018.77
8.1.200.0100.00316.98
8.1.190.0050.00517.22
8.1.180.0060.00318.10
8.1.170.0040.00418.58
8.1.160.0000.00718.74
8.1.150.0080.00018.92
8.1.140.0000.00820.70
8.1.130.0000.00722.14
8.1.120.0070.00017.23
8.1.110.0050.00317.41
8.1.100.0040.00417.43
8.1.90.0000.00817.44
8.1.80.0000.00817.29
8.1.70.0030.00317.28
8.1.60.0040.00417.53
8.1.50.0080.00517.34
8.1.40.0030.00617.46
8.1.30.0040.00417.59
8.1.20.0000.00817.58
8.1.10.0000.00817.35
8.1.00.0040.00417.30
8.0.300.0050.00318.77
8.0.290.0000.00816.63
8.0.280.0000.00718.29
8.0.270.0000.00717.99
8.0.260.0000.00619.97
8.0.250.0000.00716.94
8.0.240.0040.00416.91
8.0.230.0000.00716.82
8.0.220.0000.00716.84
8.0.210.0030.00316.74
8.0.200.0060.00016.90
8.0.190.0030.00316.80
8.0.180.0000.00816.86
8.0.170.0040.00416.85
8.0.160.0020.00916.73
8.0.150.0030.00316.65
8.0.140.0090.00316.78
8.0.130.0000.00613.25
8.0.120.0000.00716.84
8.0.110.0040.00416.73
8.0.100.0000.00716.89
8.0.90.0030.00616.75
8.0.80.0100.00916.79
8.0.70.0030.00316.94
8.0.60.0050.00316.69
8.0.50.0080.00016.87
8.0.30.0130.00317.15
8.0.20.0110.00816.86
8.0.10.0040.00416.80
8.0.00.0090.01316.58
7.4.330.0000.00516.89
7.4.320.0060.00016.50
7.4.300.0000.00616.55
7.4.290.0030.00316.57
7.4.280.0040.00416.54
7.4.270.0000.00716.46
7.4.260.0060.00013.15
7.4.250.0000.00716.40
7.4.240.0030.00316.45
7.4.230.0070.00016.65
7.4.220.0000.00716.42
7.4.210.0090.01016.49
7.4.200.0030.00316.54
7.4.130.0090.01216.36
7.4.120.0090.01216.45
7.4.110.0140.00316.38
7.4.100.0080.01116.38
7.4.90.0000.01816.41
7.4.80.0100.00719.39
7.4.70.0040.01316.40
7.4.60.0080.00816.26
7.4.50.0030.01216.32
7.4.40.0100.00716.54
7.4.10.0050.01114.72
7.4.00.0090.00514.48
7.3.330.0050.00216.13
7.3.320.0000.00612.89
7.3.310.0040.00416.10
7.3.300.0030.00316.05
7.3.290.0080.01216.14
7.3.280.0060.01016.08
7.3.260.0200.00316.39
7.3.240.0060.01116.22
7.3.230.0100.00716.20
7.3.210.0120.00516.39
7.3.200.0120.00616.20
7.3.190.0130.00316.07
7.3.180.0090.01316.11
7.3.170.0120.00316.19
7.3.160.0060.01016.34
7.3.130.0100.00614.70
7.3.120.0140.00314.84
7.3.110.0050.00814.45
7.3.100.0140.00014.63
7.3.90.0130.00314.78
7.3.80.0100.00714.54
7.3.70.0060.00914.37
7.3.60.0070.00914.52
7.3.50.0030.01214.52
7.3.40.0170.00514.31
7.3.30.0170.00314.65
7.3.20.0470.00914.67
7.3.10.0120.00814.61
7.3.00.0060.00914.63
7.2.330.0130.00316.42
7.2.320.0120.00916.47
7.2.310.0100.00716.14
7.2.300.0140.00716.22
7.2.290.0090.00616.36
7.2.260.0060.00914.61
7.2.250.0100.00514.54
7.2.240.0030.01214.69
7.2.230.0080.00814.86
7.2.220.0110.00614.50
7.2.210.0120.00514.66
7.2.200.0040.01114.72
7.2.190.0110.00814.71
7.2.180.0060.00914.93
7.2.170.0090.01114.75
7.2.160.0060.01514.81
7.2.150.0000.01614.71
7.2.140.0120.00814.77
7.2.130.0070.01414.54
7.2.120.0100.01014.69
7.2.110.0110.00714.95
7.2.100.0070.01114.99
7.2.90.0050.01114.90
7.2.80.0100.00614.60
7.2.70.0060.00914.86
7.2.60.0090.00614.81
7.2.50.0090.00614.67
7.2.40.0160.00314.75
7.2.30.0080.00914.69
7.2.20.0150.00614.78
7.2.10.0120.00915.02
7.2.00.0070.01414.73

preferences:
72.35 ms | 400 KiB | 5 Q