php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #73024 called funcs don't always get executed
Submitted: 2016-09-06 01:03 UTC Modified: 2016-09-18 04:22 UTC
From: jim dot michaels at Jesusnjim dot com Assigned:
Status: No Feedback Package: Scripting Engine problem
PHP Version: 7.1.0RC1 OS: vista32,pae amd
Private report: No CVE-ID: None
 [2016-09-06 01:03 UTC] jim dot michaels at Jesusnjim dot com
Description:
------------
for reason's I can't track down or explain (and code is longer than 20 lines), some of my functions like GenMenuHTMLFromXmlTree() are not being called like they should be. this is one of the reasons why files are not being touched. same menu project. bug in php. I cannot make a test script.

Expected result:
----------------
every function that is called should run.

Actual result:
--------------
acts like nothing happened. it's not an icase problem.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-09-06 01:15 UTC] requinix@php.net
-Status: Open +Status: Feedback
 [2016-09-06 01:15 UTC] requinix@php.net
Well we can't do anything with just that description.

If you need help debugging your code then you need to find support outside of this bug tracker.
http://www.php.net/support.php
 [2016-09-18 04:22 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 [2016-09-22 17:39 UTC] jim dot michaels at Jesusnjim dot com
no error is thrown when function is called (when function call is misspelled) and called function is not found. no error. nothing happens.
if (isourtsideurl("http://abc.def")) { echo "found";} else {echo "not found";}
function isoutsideurl($s) {
return preg_match("/((http|ftp)s?|telnet|nntp|iirc|tel|e164):\/\//", $s);
}

yeah it catches this, but not when it's in a big program like mine: menu7a.php in http://Jesusnjim.com/menu7a.php

menu7a modifies the menus according to the menu content in menu7a.xml and does special comment substitution.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 16:01:28 2024 UTC