- var_dump: documentation ( source)
- spl_object_hash: documentation ( source)
<?php
$f1 = function() { return 'a'; };
$f2 = function() { return 'b'; };
$f3 = $f1;
var_dump(spl_object_hash($f1));
var_dump(spl_object_hash($f2));
var_dump(spl_object_hash($f3));