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