|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58060 Unhelpful or no errors with Xpath and Lists
Submitted: 2008-02-25 05:37 UTC Modified: 2017-01-10 08:10 UTC
From: Assigned:
Status: Suspended Package: SCA_SDO (PECL)
PHP Version: 5.2.1 OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
Solve the problem:
46 + 14 = ?
Subscribe to this entry?

 [2008-02-25 05:37 UTC]
See this thread:

Two problems: 
a) Try to access a list element using an xpath. For example
   $do = $record->logicalPort['portId=24'];
results in
   PHP Fatal error:  main(): internal error (747) - invalid dimension type 6 in <source> on line <nn>

In other words, you are using a String (type==6) as an index into a list, but only Integers are valid.  This message is not  intelligible to users.

b) Try to unset a list element using an xpath from the container. For example


There's no error message. But nothing happens. This expression cannot work, because you cannot use an xpath as a list index, so there should be an error message.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2017-01-10 08:10 UTC]
-Status: Open +Status: Suspended
 [2017-01-10 08:10 UTC]
Suspending this report as the extension have not had a release for almost 9 years.  Please revive this if the extension once again shows life
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Jul 17 10:01:28 2024 UTC