]> granicus.if.org Git - php/commit
Improve phpdbg opcode dump
authorNikita Popov <nikic@php.net>
Sun, 24 May 2015 18:27:30 +0000 (20:27 +0200)
committerNikita Popov <nikic@php.net>
Sun, 24 May 2015 18:29:57 +0000 (20:29 +0200)
commita1ef8b418d88798d2e23b9a89f944c0dc52e0928
tree4872ed7351f36670c6badbec9f89936282522bed
parentfc8143f58a760df0c915d37afe65f6a15d52fc16
Improve phpdbg opcode dump

Don't show <unused>, just don't display anything instead.

Dump nums used in op1/op2/result, e.g. for SEND, RECV etc.

Split the switch into three parts, one for each operand.
sapi/phpdbg/phpdbg_opcode.c
sapi/phpdbg/tests/commands/0102_print.test