3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = Array ( 'Bank' => Array ( 'name' => 'Bank', 'status' => 1, 'enable_rcb' => 1 ), 'Cod' => Array ( 'name' => 'Cod', 'status' => 1, 'enable_rcb' => 0 ), 'Lite' => Array ( 'name' => 'Lite', 'status' => 0, 'enable_rcb' => 0 ) ); $new = array_keys(array_filter($a,function($v){ return $v['status'] > 0; })); print_r($new);

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.5.00.0110.01019.70
8.4.150.0020.00214.05
8.4.140.0110.01017.47
8.4.130.0140.00617.65
8.4.120.0100.00820.64
8.4.110.0110.00622.28
8.4.100.0070.00518.71
8.4.90.0020.00720.31
8.4.80.0120.00618.73
8.4.70.0130.00718.97
8.4.60.0110.01018.60
8.4.50.0110.00820.12
8.4.40.0110.00820.66
8.4.30.0170.00320.50
8.4.20.0100.01017.81
8.4.10.0060.00319.56
8.3.280.0100.00818.51
8.3.270.0110.01016.70
8.3.260.0090.00216.75
8.3.250.0090.00619.11
8.3.240.0100.00816.41
8.3.230.0070.01116.54
8.3.220.0120.00618.72
8.3.210.0110.00916.49
8.3.200.0060.00316.63
8.3.190.0120.00618.78
8.3.180.0100.00818.91
8.3.170.0030.01616.74
8.3.160.0070.01117.09
8.3.150.0170.00016.74
8.3.140.0030.00518.78
8.3.130.0040.00418.59
8.3.120.0070.00718.67
8.3.110.0030.00620.94
8.3.100.0060.00324.06
8.3.90.0100.00026.77
8.3.80.0030.00619.36
8.3.70.0140.00716.63
8.3.60.0040.01118.30
8.3.50.0160.00523.74
8.3.40.0120.00618.67
8.3.30.0110.00718.75
8.3.20.0090.00020.73
8.3.10.0080.00020.03
8.3.00.0070.00021.91
8.2.290.0080.01020.36
8.2.280.0140.00518.43
8.2.270.0110.00716.67
8.2.260.0110.00718.55
8.2.250.0030.00616.43
8.2.240.0120.00418.83
8.2.230.0000.00822.58
8.2.220.0050.00537.54
8.2.210.0040.00426.77
8.2.200.0060.00318.88
8.2.190.0110.00716.75
8.2.180.0030.01318.32
8.2.170.0070.00722.96
8.2.160.0140.00022.13
8.2.150.0080.00024.18
8.2.140.0000.00824.66
8.2.130.0080.00026.16
8.2.120.0030.00519.48
8.2.110.0070.00322.11
8.2.100.0080.00317.84
8.2.90.0030.00517.63
8.2.80.0000.00818.73
8.2.70.0040.00417.50
8.2.60.0060.00318.22
8.2.50.0080.00018.10
8.2.40.0030.00519.47
8.2.30.0030.00519.13
8.2.20.0080.00018.13
8.2.10.0070.00019.37
8.2.00.0050.00219.30
8.1.330.0090.00921.98
8.1.320.0100.01016.19
8.1.310.0080.00016.27
8.1.300.0130.00619.70
8.1.290.0090.00030.84
8.1.280.0120.00625.92
8.1.270.0040.00422.12
8.1.260.0040.00426.35
8.1.250.0000.00728.09
8.1.240.0040.00422.14
8.1.230.0070.00322.64
8.1.220.0050.00317.79
8.1.210.0080.00018.93
8.1.200.0000.00817.35
8.1.190.0030.00517.22
8.1.180.0000.00819.03
8.1.170.0040.00418.71
8.1.160.0040.00418.89
8.1.150.0000.00718.89
8.1.140.0040.00422.19
8.1.130.0000.00720.20
8.1.120.0040.00417.36
8.1.110.0040.00417.44
8.1.100.0070.00417.34
8.1.90.0040.00417.46
8.1.80.0030.00617.36
8.1.70.0030.00317.43
8.1.60.0040.00417.58
8.1.50.0050.00317.52
8.1.40.0040.00417.56
8.1.30.0030.00517.52
8.1.20.0030.00517.56
8.1.10.0050.00317.41
8.1.00.0030.00617.49
8.0.300.0070.00019.94
8.0.290.0040.00416.63
8.0.280.0030.00318.43
8.0.270.0030.00316.83
8.0.260.0030.00320.30
8.0.250.0000.00716.84
8.0.240.0030.00316.98
8.0.230.0060.00316.93
8.0.220.0000.00716.86
8.0.210.0000.00716.89
8.0.200.0030.00316.81
8.0.190.0050.00216.91
8.0.180.0040.00416.92
8.0.170.0060.00316.90
8.0.160.0040.00416.77
8.0.150.0070.00016.84
8.0.140.0070.00316.68
8.0.130.0000.00613.27
8.0.120.0000.00716.76
8.0.110.0030.00616.77
8.0.100.0040.00416.79
8.0.90.0060.00316.93
8.0.80.0050.01116.83
8.0.70.0000.00816.93
8.0.60.0000.00816.95
8.0.50.0000.00716.88
8.0.30.0030.01417.13
8.0.20.0110.00916.96
8.0.10.0040.00417.07
8.0.00.0140.00416.82
7.4.330.0030.00315.55
7.4.320.0000.00716.54
7.4.300.0060.00016.48
7.4.290.0030.00516.39
7.4.280.0060.00616.38
7.4.270.0000.00716.63
7.4.260.0000.00513.27
7.4.250.0030.00316.55
7.4.240.0040.00416.48
7.4.230.0040.00416.57
7.4.220.0020.00516.54
7.4.210.0110.00516.51
7.4.200.0050.00216.59
7.4.130.0130.00616.23
7.4.120.0100.01016.47
7.4.110.0130.00316.49
7.4.100.0060.01116.29
7.4.90.0140.00316.54
7.4.80.0030.01919.39
7.4.70.0130.00316.53
7.4.60.0030.01416.52
7.4.50.0100.00716.46
7.4.40.0040.01316.45
7.4.10.0080.00814.97
7.4.00.0070.00814.97
7.3.330.0000.00716.38
7.3.320.0030.00313.11
7.3.310.0030.00316.25
7.3.300.0030.00316.15
7.3.290.0080.00916.21
7.3.280.0040.01416.13
7.3.260.0150.00916.54
7.3.240.0110.00516.35
7.3.230.0100.00716.41
7.3.210.0060.00916.29
7.3.200.0100.01016.37
7.3.190.0060.01016.51
7.3.180.0060.01216.39
7.3.170.0170.00016.29
7.3.160.0080.00816.29
7.3.130.0050.01014.82
7.3.120.0080.00914.75
7.3.110.0050.01114.73
7.3.100.0070.00714.54
7.3.90.0040.00914.74
7.3.80.0050.00714.79
7.3.70.0080.00614.80
7.3.60.0060.00714.68
7.3.50.0050.00814.81
7.3.40.0080.00614.81
7.3.30.0050.01014.79
7.3.20.0070.00815.59
7.3.10.0050.00915.66
7.3.00.0070.00715.54
7.2.330.0080.01216.45
7.2.320.0060.01016.69
7.2.310.0120.00616.85
7.2.300.0030.01516.72
7.2.290.0090.00616.50
7.2.260.0040.01414.86
7.2.250.0060.01114.96
7.2.240.0080.00814.92
7.2.230.0080.00815.03
7.2.220.0050.01114.87
7.2.210.0030.01114.85
7.2.200.0080.00614.98
7.2.190.0060.00814.98
7.2.180.0060.01014.96
7.2.170.0070.00914.90
7.2.160.0070.01114.97
7.2.150.0060.00617.00
7.2.140.0050.00716.92
7.2.130.0060.00816.75
7.2.120.0090.00516.81
7.2.110.0020.01316.71
7.2.100.0080.00616.82
7.2.90.0090.00816.88
7.2.80.0050.00817.03
7.2.70.0060.00616.83
7.2.60.0040.01016.71
7.2.50.0090.00416.97
7.2.40.0090.00316.93
7.2.30.0040.00916.83
7.2.20.0070.00716.85
7.2.10.0020.01216.96
7.2.00.0030.01016.92
7.1.330.0100.01014.03
7.1.320.0060.00813.95
7.1.310.0050.00913.93
7.1.300.0100.00813.91
7.1.290.0170.00713.83
7.1.280.0080.00713.73
7.1.270.0080.01214.03
7.1.260.0060.00913.92

preferences:
35.17 ms | 403 KiB | 5 Q