PHP userland backwards compatibility layer that emulates PHP 5.5+ core functions.

⌈⌋ ⎇ branch:  upgrade.php


Artifact [4d4e25b7a0]

Artifact 4d4e25b7a057cad3b246a15ee77ce828c6ce7486:

  • File doc/tests1all/scandir.phpt — part of check-in [51e3884900] at 2010-06-22 17:03:27 on branch trunk — upgradephp-15 (user: mario size: 324)

--TEST--
scandir
--FILE--
<?php

$r = scandir("..");
echo "..\n\n";
print_r($r);

?>
--EXPECT--
..

Array
(
    [0] => .
    [1] => ..
    [2] => README
    [3] => ctest
    [4] => devtools
    [5] => gettext.txt
    [6] => index.xhtml
    [7] => runtest
    [8] => tests0old
    [9] => tests1all
    [10] => tests2filter
)