90e7a30404
This test was imported WITHOUT hard-coded output. Meaning it was compared to zend. It so happened that I had cleaned my repo after any runs of ##TestExt## so the file they both created (and sometimes didn't clean up) didn't exist. So that is the output I recorded. @mwilliams do you think you intended for the file to exist? It wasn't in the repo. With this diff I'm using a unique filename so it doesn't matter if ##TestExt## hasn't cleaned up perfectly.
9 linhas
161 B
PHP
9 linhas
161 B
PHP
<?php
|
|
|
|
$file = __DIR__."/../../sample_dir/symlink";
|
|
|
|
var_dump(filetype($file));
|
|
var_dump(is_link($file));
|
|
$a = lstat($file);
|
|
var_dump($a['mtime'] > 1234567890);
|