質問

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