issue 3645, php5 대응, 함수 대체

git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@13202 201d5d3c-b55e-5fd7-737f-ddc643e51545
fix syntax error

git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@13203 201d5d3c-b55e-5fd7-737f-ddc643e51545