PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » PHP » PHP_Shell » Bug #9556

curly open not recognized

Details

Submitted2006-12-06 11:02 UTC
Fromglen at delfi dot ee
Assignedjespino
StatusClosed
PackagePHP_Shell
PHP Version5.2.0 RC4
OSPLD Linux
Roadmaps(Not assigned)

Comments

[2006-12-06 11:02 UTC] glen at delfi dot ee

Description:
------------
works from CLI:

# php -r '$z=array(1,33);echo "jura: {$z[1]}\n";'
jura: 33
#

and warns from php-shell:

# php-shell
PHP-Shell - Version 0.3.1, with readline() support
>> $z=array(1,33);
array (
0 => 1,
1 => 33,
)
>> echo "jura: {$z[1]}\n";
unknown tag: 374 (T_CURLY_OPEN): {

jura : { Array [1 ]}

# php -v
PHP 5.2.0 (cli) (built: Nov 20 2006 01:08:10)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2006 Zend
Technologies