I am using Ubuntu with PHP 7.
PHP 7.0.5-3+donate.sury.org~xenial+1 (cli) ( NTS )
Copyright (c) 1997-2016 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies
with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies
with Xdebug v2.4.0, Copyright (c) 2002-2016, by Derick Rethans
When I debug a PHP script by using var_dump
to show some variable:
<?php
var_dump('tmp string');
var_dump(true);
The below is its output:
/var/www/example.com/test.php:3:string 'tmp string' (length=10)
/var/www/example.com/test.php:4:boolean true
Why does it always output with the file path before?
I want it to output like below:
string 'tmp string' (length=10)
boolean true