- var_dump: documentation ( source)
<?php
trait A {
function __construct($c) {
echo 'dddd';
$this->c = $c;
}
function getReturnDescription() { /*2*/ }
}
trait B {
function __construct($c) {
echo 'AAAA';
$this->c = $c;
}
function getReturnDescription() { /*2*/ }
}
class ezcReflectionMethod {
use A, B;
/* ... */
}
$a = new ezcReflectionMethod('ccc');
var_dump($a);