note 85844 deleted from language.references.return by nikic

From: Date: Tue, 01 Oct 2013 14:48:39 +0000
Subject: note 85844 deleted from language.references.return by nikic
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-196438@lists.php.net to get a copy of this message
Note Submitter: sandaimespaceman at gmail dot com ---- References can produce a chain like what jQuery used: <?php $a = new test(); echo ($a -> one() -> two() -> one() -> two() -> one() -> two() -> f); ?> instead of <?php $a = new test(); $a -> one(); $a -> two(); $a -> one(); $a -> two(); $a -> one(); $a -> two(); echo $a -> f; ?> They both return 29.

« previous php.notes (#196438) next »