Re: Json.php

From: Date: Wed, 18 Apr 2007 08:59:48 +0000
Subject: Re: Json.php
References: 1 2 3 4 5 6 7 8  Groups: php.general 
Request: Send a blank email to php-general+get-253183@lists.php.net to get a copy of this message
So only one of these is "kosher" static: return Services_JSON::decode($data); class: $json = new Services_JSON; return $json->decode($data); but not both.
I'm not trying to start (or further add fuel to) any kind of war but instead an earnest question: why not both? thnx, Chris

« previous php.general (#253183) next »