Call PHP function in PHP extension?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • philipwayne
    New Member
    • Mar 2010
    • 50

    Call PHP function in PHP extension?

    Is there a way to call a PHP function from a PHP extension. Say base64_encode?

    I'll continue looking and trying to figure it out any help would be greatly appreciated.
  • Markus
    Recognized Expert Expert
    • Jun 2007
    • 6092

    #2
    Hey there.

    If you take a look at the PHP_FUNCTION definition for base64_encode, you will see that it passes off the encoding process to another function, php_base64_enco de. This is typical of most core-functions.

    Mark (is happy to have a PHP extension question :D)

    Comment

    • philipwayne
      New Member
      • Mar 2010
      • 50

      #3
      Thank you. lol I'm just getting started with extensions so I might have quite a bit more coming.

      Comment

      • Markus
        Recognized Expert Expert
        • Jun 2007
        • 6092

        #4
        Good stuff :) I look forward to it.

        Comment

        Working...