PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Database » SQL_Parser » Bug #459

Notices with function get() in lexer.php

Details

Submitted2003-12-19 16:38 UTC
Fromcoil at strangebuzz dot com
Assignedbusterb
StatusClosed
PackageSQL_Parser
PHP Version4.3.4
OS2K + Easy PHP 1.7
Roadmaps(Not assigned)

Comments

[2003-12-19 16:38 UTC] coil at strangebuzz dot com

Description:
------------
same as previous bug, we have notices with get() function

Reproduce code:
---------------
$parseRes = $this->SQLParser->parse("SELECT nUserID FROM users");

Expected result:
----------------
No notice

Actual result:
--------------
Notice: Uninitialized string offset: 25 in pear\SQL\Lexer.php on line 80

Notice: Uninitialized string offset: 25 in pear\SQL\Lexer.php on line 80

[2003-12-19 16:42 UTC] coil at strangebuzz dot com

Corrected Bug infos.

[2003-12-21 01:43 UTC] busterb at php dot net

Hello. This is fixed in the CVS version. I'll make a release shortly to
put the fix out into the open. Thanks for the report.