Supported Versions: PHP 7 >= 7.2.0, PHP 8
Return the integer object handle for given object
<?php spl_object_id(object $object): int
<?php         $result = [];



        foreach ($middleware as $value) {

            $key = \is_object($value) ? \spl_object_id($value) : $value;



            if (! isset($seen[$key])) {

                $seen[$key] = true;
<?php         $output = $this->dump($user);



        $objectId = spl_object_id($user);



        $expected = <<<EOF

        {#$objectId