|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2015-05-28 11:36 UTC] cmb@php.net
-Status: Open
+Status: Wont fix
-Package: domxml
+Package: *General Issues
[2015-05-28 11:36 UTC] cmb@php.net
|
|||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Dec 16 15:00:02 2025 UTC |
Description: ------------ PHP Version 5.2.5RC3-dev Build Date Nov 3 2007 16:04:47 domxml DOM/XML enabled DOM/XML API Version 20030407 libxml Version 20626 HTML Support enabled XPath Support enabled XPointer Support enabled the problem is on line die("DONE"); if you comment this line the script successfully finish (no bug). This code is part of large code, the script continue without problem until the die() or exit() functions are reached. Reproduce code: --------------- <?php $dom = domxml_open_mem('<?xml version="1.0" encoding="UTF-8"?><root><row /> </root>'); someFunction($dom); function someFunction($dom){ $users = $dom->get_elements_by_tagname('row'); die(); } ?> Expected result: ---------------- on screen should be written: DONE Actual result: -------------- PHP/Apache2 crash