Browse Source

- 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.
PHP-4.0.5
Andi Gutmans 27 years ago
parent
commit
4b0da428e7
  1. 1
      Zend/zend_compile.c

1
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);
}

Loading…
Cancel
Save