|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-11-21 17:17 UTC] iliaa@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Dec 07 07:00:01 2025 UTC |
NULL is a type with a discrete set of values. The is_scalar function should return TRUE when passed NULL. <? if(is_scalar(NULL)) print("NULL is a scalar\n"); if(is_scalar($a)) print("an unset variable is a scalar\n"); ?>