- Output for 5.3.0 - 5.3.28, 5.4.0 - 5.4.29
- Parse error: syntax error, unexpected ':', expecting ',' or ';' in /in/ITvip on line 6
Process exited with code 255.
<?php
class b {
const CV = 'b';
function f()
{
echo self:CV;
}
}
class p {
const CV = 'p';
}
$p = new p;
$p->f();