]> granicus.if.org Git - php/commit
Fix "invalid opcode" error
authorNikita Popov <nikic@php.net>
Wed, 22 Apr 2015 15:38:49 +0000 (17:38 +0200)
committerNikita Popov <nikic@php.net>
Wed, 22 Apr 2015 15:46:25 +0000 (17:46 +0200)
commit62aabf5d9ff804ddb84d955c6d78a8d2da0fba63
treea4e53e557ef7dd8f25a783afb497bd06391ca615
parenta2d87429d56847b2e0d0d19444e3ee57217859e6
Fix "invalid opcode" error

Method call can happen on CONST, it'll just throw an error.

Not forbidding this at compile-time, so this can be overridden in
an extension.
Zend/tests/varSyntax/method_call_on_string_literal.phpt [new file with mode: 0644]
Zend/zend_vm_def.h
Zend/zend_vm_execute.h