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

⌈⌋ ⎇ branch:  upgrade.php


Artifact [13edff0c65]

Artifact 13edff0c658a2ce21034ac9909605cec40d438bc:

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

--TEST--
class_parents
--FILE--
<?php

class a {}
class x extends a {}
class y extends x {}
class z extends a {}
class eve extends y {}

$y = new y;
$r = class_parents($y);
print_r($r);

?>
--EXPECT--
Array
(
    [x] => x
    [a] => a
)