Re: get_class_vars() returned information ORDER

From: Date: Sun, 09 Sep 2012 12:07:52 +0000
Subject: Re: get_class_vars() returned information ORDER
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-62917@lists.php.net to get a copy of this message
Hi, Am 09.09.2012 um 13:52 schrieb Johannes Schlüter <johannes@schlueters.de>: [...] > There's no such guarantee. The fact that it is using a Hashtable which has an order is an > implementation detail. This might change (even though a change is unlikely) The only promise of > get_class_vars() is to return all. Or put it that way: if you need a specific order, sort it "by code". cu, Lars

« previous php.internals (#62917) next »