note 66717 added to language.oop5.overloading

From: Date: Fri, 26 May 2006 23:56:15 +0000
Subject: note 66717 added to language.oop5.overloading
Groups: php.notes 
Request: Send a blank email to php-notes+get-112346@lists.php.net to get a copy of this message
in response to Lucas Bares mail at luke-b dot com You do not need that class, this functionality is already provided by the PHP's built-in stdClass.. try this: <?php $object = new stdClass(); $object->a = 'Hello'; $object->b = 'World'; echo $object->a.' '.$object->b; ?> ---- Server IP: 66.163.161.117 Probable Submitter: 201.236.100.58 (proxied: 192.168.0.9, 127.0.0.1) ---- X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER autolearn=no version=2.64 ---- Manual Page -- http://www.php.net/manual/en/language.oop5.overloading.php Edit -- http://master.php.net/note/edit/66717 Del: integrated -- http://master.php.net/note/delete/66717/integrated Del: useless -- http://master.php.net/note/delete/66717/useless Del: bad code -- http://master.php.net/note/delete/66717/bad+code Del: spam -- http://master.php.net/note/delete/66717/spam Del: non-english -- http://master.php.net/note/delete/66717/non-english Del: in docs -- http://master.php.net/note/delete/66717/in+docs Del: other reasons-- http://master.php.net/note/delete/66717 Reject -- http://master.php.net/note/reject/66717 Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#112346) next »