|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2011-02-08 05:44 UTC] indeyets at gmail dot com
[2011-02-20 18:39 UTC] bd808@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Dec 13 02:00:01 2025 UTC |
Description: ------------ When I use callback functions for nodes I get crash of extension. I use PHP 5.3.3 from repos. Yaml extension I've compiled from source code v 0.6.3 beta Reproduce code: --------------- function yaml_cbk($a) { var_dump($a); } $yaml_code = <<<YAML boo: doo a: [1,2,3,4] d: [] YAML; $yaml = yaml_parse($yaml_code,0,&$ndocs,array("a"=>"yaml_cbk")); Expected result: ---------------- I want to see result of var_dump($a); Actual result: -------------- array(3) { ["boo"]=> string(0) "" ["a�o�ш��˜Lљn6?L and more binary code apache error.log string: [error] child died with signal 7 no other log entries neither in dmesg. In browser output got some binary code