How to see php bytecode file

后端 未结 2 2021
自闭症患者
自闭症患者 2021-02-09 04:29

I am doing it for learning purpose. I have gone through many articles that php first convert its source code to bytecode, but i am not able to find a way to see the bytecode for

2条回答
  •  情深已故
    2021-02-09 04:39

    To turn PHP code into a list of opcodes, you can use vld, the "Vulcan Logic Dumper" (available on GitHub and PECL).

    The PHP documentation also maintains a list of opcodes.

    Also available is 3v4l.org, which allows you to input PHP code and view part of the vld dump on its results page.

提交回复
热议问题