문제

Well I used to think I know xdebug well-enough but apparently not !

In another question someone pointed out that x-debug does indeed afect the PHP parser directly in a way that results in altering the PHP syntax. Is this true ? how ? some examples perhaps ?

How come XHP can alter PHP syntax and yet be wholly implemented as an extension?

도움이 되었습니까?

해결책

Short answer: no, xdebug doens't change the syntaxis of PHP in any way. It allows to alter some behaviour (but that is not what you are interested in).

Therefore there is no special 'xdebug-style parser' needed.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top