1--TEST-- 2Test possible function naming regression on procedural scope 3--FILE-- 4<?php 5 6class Obj 7{ 8 function echo(){} // valid 9 function return(){} // valid 10} 11 12function echo(){} // not valid 13--EXPECTF-- 14Parse error: syntax error, unexpected 'echo' (T_ECHO), expecting %s in %s on line 9 15