Re: cvs: phpdoc /en/reference/var/functions is-int.xml

From: Date: Thu, 13 Sep 2007 18:18:15 +0000
Subject: Re: cvs: phpdoc /en/reference/var/functions is-int.xml
References: 1  Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-16@lists.php.net to get a copy of this message
+<?php +if(is_int(23)) +{ + echo "is integer\n"; +}else +{ + echo "is not an integer\n"; +} +var_dump(is_int(23)); +var_dump(is_int("23")); +var_dump(is_int(23.5)); +var_dump(is_int(true)); +?>
Hi, You should be following the PEAR coding standards, here: - space after "if" - } else { all on one line
+    &example.outputs.similar;
This should be &example.outputs; S

« previous php.doc.cvs (#16) next »