Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: XDEBUG_2_1_4
Fetching contributors…

Cannot retrieve contributors at this time

21 lines (20 sloc) 0.737 kb
--TEST--
Test for bug #693: Cachegrind files not written when filename is very long
--INI--
xdebug.profiler_enable=1
xdebug.profiler_output_dir=/tmp
xdebug.profiler_output_name=cachegrind.01-%r.02-%r.03-%r.04-%r.05-%r.06-%r.07-%r.08-%r.09-%r.10-%r.11-%r.12-%r.13-%r.14-%r.15-%r.16-%r.17-%r.18-%r.19-%r.20-%r.21-%r.22-%r.23-%r.24-%r.25-%r.26-%r.27-%r.28-%r.29-%r.30
--FILE--
<?php
$file = xdebug_get_profiler_filename();
var_dump($file === false);
var_dump(file_exists($file));
var_dump($file);
if ($file) {
unlink($file);
}
?>
--EXPECTF--
bool(false)
bool(true)
string(255) "/tmp/cachegrind.01-%s.02-%s.03-%s.04-%s.05-%s.06-%s.07-%s.08-%s.09-%s.10-%s.11-%s.12-%s.13-%s.14-%s.15-%s.16-%s.17-%s.18-%s.19-%s.20-%s.21-%s.22-%s.23-%s.24-%s"
Jump to Line
Something went wrong with that request. Please try again.