From: Andi Gutmans Date: Sun, 6 Feb 2000 20:18:35 +0000 (+0000) Subject: - Support the string offset syntax $a{2} with the regular array opcodes. X-Git-Tag: BEFORE_SAPIFICATION_FEB_10_2000~58 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4b0da428e72ee2d2621e868b083944c10056d2f9;p=php - Support the string offset syntax $a{2} with the regular array opcodes. Will need to write new opcodes sometime but right now it's good enough to announce the change to this string offset syntax for beta 4. --- diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c index 0ba66fa1f5..ff98273866 100644 --- a/Zend/zend_compile.c +++ b/Zend/zend_compile.c @@ -295,6 +295,7 @@ void fetch_array_dim(znode *result, znode *parent, znode *dim CLS_DC) void fetch_string_offset(znode *result, znode *parent, znode *offset CLS_DC) { + fetch_array_dim(result, parent, offset CLS_CC); }