diff options
author | krakjoe <joe.watkins@live.co.uk> | 2013-12-22 13:07:41 +0000 |
---|---|---|
committer | krakjoe <joe.watkins@live.co.uk> | 2013-12-22 13:07:41 +0000 |
commit | 247ec0d81f1ebe16cafa082ba3ef73ca1f31831d (patch) | |
tree | fa86878f90e2bac983d204ef2ce41cc3b84afc33 /Zend/zend_vm_opcodes.c | |
parent | 8e36d36ee6dc89701416c282ede0bcd92fd3aa0e (diff) | |
parent | b1df00a7c98fb66cc801924287ebb73234999bfc (diff) | |
download | php-git-247ec0d81f1ebe16cafa082ba3ef73ca1f31831d.tar.gz |
Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4:
stop warnings from unused opcode map
- BFN
Diffstat (limited to 'Zend/zend_vm_opcodes.c')
-rw-r--r-- | Zend/zend_vm_opcodes.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Zend/zend_vm_opcodes.c b/Zend/zend_vm_opcodes.c index c565510fac..22fc7cbcf3 100644 --- a/Zend/zend_vm_opcodes.c +++ b/Zend/zend_vm_opcodes.c @@ -19,6 +19,7 @@ */ #include <stdio.h> +#include <zend.h> const char *zend_vm_opcodes_map[164] = { "ZEND_NOP", @@ -186,3 +187,7 @@ const char *zend_vm_opcodes_map[164] = { "ZEND_FAST_CALL", "ZEND_FAST_RET", }; + +ZEND_API const char* zend_get_opcode_name(zend_uchar opcode) { + return zend_vm_opcodes_map[opcode]; +} |