note 107147 modified in function.current by danbrown

From: Date: Wed, 11 Jan 2012 17:17:44 +0000
Subject: note 107147 modified in function.current by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-185584@lists.php.net to get a copy of this message
current() also works on objects: <?php echo current((object) array('one', 'two')); // Outputs: one ?> --was-- current() also works on objects: <?php echo current((object) array('one', 'two')); // Outputs: one http://php.net/manual/en/function.current.php

« previous php.notes (#185584) next »