Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#5 filelocked($file)

closed
nobody
None
5
2009-06-27
2009-06-10
Anonymous
No

Instead of generating a call graph, it just outputs "filelocked($file)" and returns 0.

Discussion

  • Falko
    Falko
    2009-06-12

    • status: open --> pending
     
  • Falko
    Falko
    2009-06-12

    Hi,

    could you post the exact command line you used and if possible an example PHP file?

    The default setting is to output a textual representation of the graph. This representation comprises a list of user-defined methods and functions associated with their respective calls to other user-defined methods or functions. I could imagine a file like:

    <?php
    filelocked( 'somefile' );
    function filelocked( $file ) {
    phpinfo();
    }
    ?>

    for which phpCallGraph would produce the output you described. Calls to internal PHP functions like phpinfo() are only reported in the output when the option -p is set.
    Note that due to restrictions of the current approach code in the global scope (outside any functions or methods) like the invocation of filelocked() in line 2 can only be analyzed with the help of a little workaround as described in the readme.txt.

    Cheers,
    Falko

     
  • This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

     
    • status: pending --> closed