note 87558 rejected from language.namespaces by danbrown

From: Date: Wed, 10 Dec 2008 16:11:57 +0000
Subject: note 87558 rejected from language.namespaces by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-147993@lists.php.net to get a copy of this message
Note Submitter: thomas dot worm at gsp-software dot de ---- Is there any good way for doing backward compatibility of code, like: <?php if ( (float) substr(phpversion(),0,3) >= 5.3) namespace MySpace\SubSpace; ?> This tells me a Parse error: parse error, expecting `T_NS_SEPARATOR' in space.lib.php on line 3

« previous php.notes (#147993) next »