<?php
$list1 = [
[
"first_name" => "Fatima",
"last_name" => "A.",
"country" => "Algeria",
"continent" => "Africa",
"age" => 25,
"language" => "JavaScript"
],
[
"first_name" => "Agustin",
"last_name" => "M.",
"country" => "Chile",
"continent" => "Americas",
"age" => 37,
"language" => "C"
],
[
"first_name" => "Jing",
"last_name" => "X",
"country" => "China",
"continent" => "Asia",
"age" => 39,
"language" => "Ruby"
],
[
"first_name" => "Laia",
"last_name" => "P.",
"country" => "Andorra",
"continent" => "Europe",
"age" => 55,
"language" => "Ruby"
],
[
"first_name" => "Oliver",
"last_name" => "Q.",
"country" => "Australia",
"continent" => "Oceania",
"age" => 65,
"language" => "PHP"
]
];
var_dump(!array_diff(['Africa', 'Americas', 'Asia', 'Europe', 'Oceania'], array_unique(array_column($list1, 'continent'))));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/mLogS
function name: (null)
number of ops: 17
compiled vars: !0 = $list1
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
3 0 E > ASSIGN !0, <array>
46 1 INIT_FCALL 'var_dump'
2 INIT_FCALL 'array_diff'
3 SEND_VAL <array>
4 INIT_FCALL 'array_unique'
5 INIT_FCALL 'array_column'
6 SEND_VAR !0
7 SEND_VAL 'continent'
8 DO_ICALL $2
9 SEND_VAR $2
10 DO_ICALL $3
11 SEND_VAR $3
12 DO_ICALL $4
13 BOOL_NOT ~5 $4
14 SEND_VAL ~5
15 DO_ICALL
16 > RETURN 1
Generated using Vulcan Logic Dumper, using php 8.0.0
preferences:
151.9 ms | 1394 KiB | 21 Q