- var_dump: documentation ( source)
<?php
class Foo
{
public function bar(string $arg) {
return $arg;
}
}
$foo = new Foo();
try {
var_dump($foo->bar(0xf4c3b00c));
} catch (Error $e) {
echo '!!!' . $e->getMessage() . '!!!';
}