#18 Custom functions identical to PHP functions

0.9.2
closed-fixed
4
2005-05-27
2005-05-20
No

There could be quite a bit of extra processing time in
the system from using custom functions that have
identical results to precompiled PHP functions.
For example:
get_name() is the same as basename() or
pathinfo()[basename]
get_ftype() is the same as pathinfo()[extension]
$pre_ex is the same as dirname() or pathinfo()[dirname]

in which case I will probably user dirname() and
basename() where possible and grab the 'extnesion' key
when needed.

Discussion

  • Brandon Nimon

    Brandon Nimon - 2005-05-27
    • milestone: 495842 --> 0.9.2
    • status: open --> open-accepted
     
  • Brandon Nimon

    Brandon Nimon - 2005-05-27

    Logged In: YES
    user_id=1049916

    These function now access the built-in PHP
    functions/variables instead of calculating their own info.
    In the future I will likely get rid of get_name()
    alltogether and access the PHP functions directly.

     
  • Brandon Nimon

    Brandon Nimon - 2005-05-27
    • assigned_to: nobody --> bnimon
    • status: open-accepted --> closed-fixed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks