logo       


Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

var_dump variable type output: msg#00001

Subject: var_dump variable type output
Hi,

I noticed after installing xdebug 2.0.0rc1 (on a windows XP  PHP 4.4.4
/ apache 2 / xampp installation) that the xdebug var_dump does not
return the variable type as part of the output. I've tried the
xdebug_debug_zval(), but that does not return any useful relevant
information. I remember previous xdebug versions did output the type,
but I may be mistaken.

Example code:

<?php
$a = 100.00;
$b = 10.1;
$c = 100;
$d = floatval(pow(10,3));
$e = exp(log(10) * 3);
var_dump($a, $b, $c, $d, $e, "s");
?>

output with xdebug 2.0.0rc1, default settings:

100

10.1

100

1000

1000

's' (length=1)


Output with the default var_dump handler:

float(100) float(10.1) int(100) float(1000) float(1000) string(1) "s"

I've searched the existing documentation on the website for any
settings that may help, but to no avail. Is there any way of enabling
the variable type output of var_dump without disabling xdebug? I
prefer to use the prettified var_dump handler if possible.

Regards,

Fai Yip




Ruby Jobs
Java Jobs
Jobs in California
more...
what
job title, keywords
where
city, state, zip
jobs by job search
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
db.firebase.por...    text.xml.xalan....    qnx.openqnx.dev...    user-groups.zar...    internationaliz...    kde.devel.konve...    finance.e-gold....    emacs.latex.pre...    gis.therion/200...    web.webmin.gene...    yellowdog.gener...    vserver/2003-08...    redhat.release....    sysutils.tivoli...    xfree86.expert/...    mail.becky.user...    hardware.netapp...    netbsd.ports.xe...    python.distutil...    boot-loaders.gr...    culture.interne...    java.springfram...    activedir/2006-...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe