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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: jim dot michaels at Jesusnjim dot com
New email:
PHP Version: OS:

 

 [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

Add a Patch

Pull Requests

Add a Pull Request

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: Wed Apr 24 01:01:31 2024 UTC