Michael A. Peters wrote:

If variable is an integer, die($var) returns nothing and is suppose to return nothing, it takes a string as an argument to echo on death - die("$var") is what I wanted.
I often use
<?php
var_dump($myVar); exit(1);
?>

to debug and print the value of the variable. xDebug adds nice formatting to var_dump().

--

With warm regards,
Sudheer. S
Business: http://binaryvibes.co.in, Tech stuff: http://techchorus.net, 
Personal: http://sudheer.net


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to