note 120032 deleted from function.var-dump by cmb

From: Date: Thu, 13 Oct 2016 08:48:36 +0000
Subject: note 120032 deleted from function.var-dump by cmb
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-206877@lists.php.net to get a copy of this message
Note Submitter: bardiademon at gmail dot com ---- <?php function var_dump_new($input) { $inp = gettype($input); if ($inp == "double") { $inp = "float"; } echo ucfirst($inp); $inp = (string) $input; $inp = strlen($inp); echo "(" . $inp . ") "; if (gettype($input) == "string") { $show = '<lable style="color:green;">"' . $input . '" </labale>'; } else if (gettype($input) == "integer") { $show = '<lable style="color:red;">' . $input . " </labale>"; } else if (gettype($input) == "double") { $show = '<lable style="color:#0099c5;">' . $input . " </labale>"; } else if (gettype($input) == "boolean") { if (gettype($input) == 1) { $input = "TRUE"; } else { $input = "FALSE"; } $show = '<lable style="color:#92008d;">' . $input . " </labale>"; } echo $show; } ?>

« previous php.notes (#206877) next »