<?php
$a = array (
0 => array ('Hund', 'Katze'),
1 => array ('Hund', 'Katze', 'Pferd'),
2 => array ('Hund', 'Katze'),
3 => array ('Katze', 'Hund'),
4 => array (1=>'Hund', 2=>'Katze'),
)
$b = array_unique($a);
print_r($b);
- Output for 7.1.0 - 7.1.17, 7.2.0 - 7.2.6
- Parse error: syntax error, unexpected '$b' (T_VARIABLE) in /in/Lcano on line 11
Process exited with code 255.
preferences:
174.78 ms | 1395 KiB | 32 Q