3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = [1,2,3]; $b = &$a; foreach($a as $v) { echo "$v\n"; unset($b[1]); } $param_names = array( 'keyword', 'target_form_name', 'target_category_select_name', 'target_item_select_name', 'book_id' ); $c = 0; foreach( $param_names as $name ) { ${$name} = ++$c; } foreach( $param_names as $name ) { echo $$name . "\n"; }

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.0140.00316.50
8.3.50.0090.01021.97
8.3.40.0070.01018.85
8.3.30.0070.00718.54
8.3.20.0000.01519.15
8.3.10.0050.00321.73
8.3.00.0070.00020.55
8.2.180.0090.01218.16
8.2.170.0110.00422.96
8.2.160.0030.01021.02
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0030.00522.25
8.2.120.0040.00426.35
8.2.110.0090.00022.24
8.2.100.0090.00317.91
8.2.90.0000.00817.96
8.2.80.0040.00417.97
8.2.70.0040.00417.63
8.2.60.0000.00818.03
8.2.50.0080.00018.10
8.2.40.0050.00322.33
8.2.30.0040.00419.25
8.2.20.0040.00417.69
8.2.10.0040.00418.01
8.2.00.0000.00818.07
8.1.280.0030.01325.92
8.1.270.0030.00623.69
8.1.260.0030.00528.09
8.1.250.0050.00228.09
8.1.240.0030.00622.55
8.1.230.0090.00321.04
8.1.220.0040.00417.74
8.1.210.0030.00618.88
8.1.200.0060.00317.13
8.1.190.0030.00617.10
8.1.180.0080.00018.10
8.1.170.0090.00018.65
8.1.160.0000.00822.15
8.1.150.0040.00418.86
8.1.140.0050.00519.58
8.1.130.0000.00717.77
8.1.120.0040.00417.37
8.1.110.0070.00317.51
8.1.100.0070.00017.48
8.1.90.0000.00717.46
8.1.80.0030.00517.46
8.1.70.0050.00217.42
8.1.60.0030.00617.49
8.1.50.0090.00017.53
8.1.40.0080.00017.42
8.1.30.0030.00517.73
8.1.20.0040.00417.63
8.1.10.0000.00817.48
8.1.00.0000.00817.59
8.0.300.0070.00020.04
8.0.290.0040.00416.63
8.0.280.0000.00718.50
8.0.270.0000.00717.24
8.0.260.0060.00017.26
8.0.250.0000.00716.99
8.0.240.0040.00416.91
8.0.230.0030.00516.92
8.0.220.0000.00716.90
8.0.210.0030.00316.87
8.0.200.0000.00616.85
8.0.190.0050.00316.98
8.0.180.0000.00716.76
8.0.170.0000.00716.91
8.0.160.0000.00716.99
8.0.150.0030.00316.84
8.0.140.0050.00616.75
8.0.130.0000.00613.25
8.0.120.0070.00016.84
8.0.110.0000.00716.91
8.0.100.0000.00816.70
8.0.90.0000.00716.89
8.0.80.0090.00616.93
8.0.70.0040.00416.81
8.0.60.0040.00416.95
8.0.50.0000.00716.80
8.0.30.0080.01117.17
8.0.20.0090.01017.40
8.0.10.0040.00417.09
8.0.00.0150.00416.87
7.4.330.0000.00615.09
7.4.320.0000.00616.41
7.4.300.0060.00016.56
7.4.290.0030.00316.40
7.4.280.0030.00516.56
7.4.270.0000.00716.60
7.4.260.0000.00716.59
7.4.250.0070.00016.52
7.4.240.0040.00416.62
7.4.230.0040.00416.51
7.4.220.0040.01516.42
7.4.210.0000.01416.52
7.4.200.0070.00016.69
7.4.160.0100.00616.48
7.4.150.0070.01117.40
7.4.140.0160.00917.86
7.4.130.0070.01016.47
7.4.120.0120.00516.55
7.4.110.0140.00516.64
7.4.100.0150.00316.66
7.4.90.0090.00916.59
7.4.80.0130.01319.39
7.4.70.0130.00316.34
7.4.60.0100.00616.52
7.4.50.0090.00616.36
7.4.40.0120.00916.41
7.4.30.0060.01116.55
7.4.00.0100.00814.86
7.3.330.0000.00513.11
7.3.320.0060.00013.25
7.3.310.0050.00316.35
7.3.300.0030.00316.32
7.3.290.0070.00916.33
7.3.280.0060.01016.32
7.3.270.0100.00717.40
7.3.260.0080.00916.47
7.3.250.0230.01216.41
7.3.240.0030.01416.52
7.3.230.0100.01316.39
7.3.210.0070.01016.38
7.3.200.0120.01016.49
7.3.190.0100.00616.70
7.3.180.0130.00316.51
7.3.170.0160.00516.52
7.3.160.0120.00616.48
7.3.120.0100.00514.89
7.3.110.0090.00914.93
7.3.100.0070.00914.82
7.3.90.0030.00915.04
7.3.80.0020.01114.80
7.3.70.0080.00614.59
7.3.60.0020.01514.83
7.3.50.0040.00914.67
7.3.40.0060.00614.76
7.3.30.0050.00914.92
7.3.20.0020.01416.47
7.3.10.0060.00616.51
7.3.00.0050.00716.70
7.2.330.0100.00716.75
7.2.320.0070.01716.60
7.2.310.0080.00816.81
7.2.300.0070.01016.39
7.2.290.0080.00816.62
7.2.250.0090.01115.04
7.2.240.0080.01015.27
7.2.230.0060.00815.11
7.2.220.0050.00614.97
7.2.210.0070.00515.02
7.2.200.0050.01115.08
7.2.190.0020.01614.95
7.2.180.0060.00615.11
7.2.170.0070.00415.14
7.2.160.0040.00815.04
7.2.150.0140.00416.61
7.2.140.0070.01017.00
7.2.130.0100.00616.96
7.2.120.0000.01616.88
7.2.110.0050.00517.01
7.2.100.0070.00717.07
7.2.90.0110.00417.04
7.2.80.0100.00016.90
7.2.70.0000.01516.86
7.2.60.0070.00916.83
7.2.50.0000.01416.88
7.2.40.0030.00617.16
7.2.30.0080.00817.10
7.2.20.0060.00917.03
7.2.10.0060.00917.01
7.2.00.0070.00818.29
7.1.330.0060.00815.89
7.1.320.0030.00815.55
7.1.310.0040.00616.00
7.1.300.0060.01115.69
7.1.290.0100.00315.71
7.1.280.0040.00615.60
7.1.270.0080.00515.95
7.1.260.0020.00715.84
7.1.250.0100.00315.84
7.1.240.0040.00815.96
7.1.230.0030.01015.81
7.1.220.0000.01415.80
7.1.210.0070.00415.64
7.1.200.0060.00615.69
7.1.190.0060.00315.76
7.1.180.0060.00616.01
7.1.170.0030.01016.00
7.1.160.0030.01015.77
7.1.150.0040.00415.64
7.1.140.0090.00315.94
7.1.130.0050.00315.83
7.1.120.0100.00315.79
7.1.110.0070.00715.79
7.1.100.0060.00615.49
7.1.90.0030.00615.57
7.1.80.0040.00415.85
7.1.70.0020.00716.44
7.1.60.0140.00715.50
7.1.50.0060.01116.11
7.1.40.0060.00815.83
7.1.30.0070.00715.62
7.1.20.0070.00715.97
7.1.10.0000.00815.89
7.1.00.0080.03819.12
7.0.330.0040.01115.43
7.0.320.0030.00915.54
7.0.310.0050.00515.05
7.0.300.0040.00715.49
7.0.290.0070.01015.43
7.0.280.0000.01115.10
7.0.270.0030.00615.32
7.0.260.0070.00315.57
7.0.250.0000.01015.47
7.0.240.0060.00615.52
7.0.230.0030.00715.41
7.0.220.0000.01115.57
7.0.210.0030.00715.25
7.0.200.0070.00516.19
7.0.190.0080.00615.26
7.0.180.0000.00915.48
7.0.170.0030.00915.52
7.0.160.0080.00415.20
7.0.150.0090.00315.44
7.0.140.0060.00615.44
7.0.130.0000.01115.53
7.0.120.0060.00615.52
7.0.110.0100.00315.54
7.0.100.0040.00415.42
7.0.90.0050.03417.79
7.0.80.0100.03117.72
7.0.70.0030.03417.67
7.0.60.0090.03417.74
7.0.50.0050.03717.74
7.0.40.0120.02716.92
7.0.30.0080.03116.84
7.0.20.0080.03016.93
7.0.10.0050.03416.82
7.0.00.0080.03216.68
5.6.400.0030.00514.68
5.6.390.0060.00814.73
5.6.380.0070.00714.59
5.6.370.0100.00314.63
5.6.360.0110.00414.04
5.6.350.0040.01114.38
5.6.340.0040.01114.34
5.6.330.0030.01014.04
5.6.320.0130.00314.48
5.6.310.0000.01214.23
5.6.300.0030.01014.29
5.6.290.0090.00614.58
5.6.280.0060.00614.50
5.6.270.0030.00714.34
5.6.260.0040.00714.50
5.6.250.0030.01014.30
5.6.240.0070.03117.63
5.6.230.0100.03517.65
5.6.220.0120.02717.57
5.6.210.0080.03617.56
5.6.200.0180.02617.72
5.6.190.0080.03217.72
5.6.180.0080.03217.84
5.6.170.0140.02217.81
5.6.160.0100.02817.58
5.6.150.0080.03217.70
5.6.140.0070.03217.78
5.6.130.0140.02617.76
5.6.120.0080.03317.83
5.6.110.0050.03417.76
5.6.100.0030.03617.71
5.6.90.0120.02917.58
5.6.80.0050.03017.31
5.6.70.0060.03517.33
5.6.60.0100.03017.29
5.6.50.0100.02617.39
5.6.40.0110.02817.30
5.6.30.0030.03517.47
5.6.20.0030.03617.48
5.6.10.0100.03417.40
5.6.00.0090.02717.31

preferences:
68.14 ms | 401 KiB | 5 Q