Bug #73024 [Com]: called funcs don't always get executed
| From: | jim dot michaels at Jesusnjim dot com | Date: | Thu, 22 Sep 2016 17:40:01 +0000 |
| Subject: | Bug #73024 [Com]: called funcs don't always get executed | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-204190@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=73024&edit=1
ID: 73024
Comment by: jim dot michaels at Jesusnjim dot com
Reported by: jim dot michaels at Jesusnjim dot com
Summary: called funcs don't always get executed
Status: No Feedback
Type: Bug
Package: Scripting Engine problem
Operating System: vista32,pae amd
PHP Version: 7.1.0RC1
Block user comment: N
Private report: N
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[2016-09-18 04:22:21] 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-06 01:15:11] 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-06 01:03:53] 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.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=73024&edit=1