473,511 Members | 16,252 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Call PHP function in PHP extension?

50 New Member
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.
Mar 15 '10 #1
3 3363
Markus
6,050 Recognized Expert Expert
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_encode. This is typical of most core-functions.

Mark (is happy to have a PHP extension question :D)
Mar 15 '10 #2
philipwayne
50 New Member
Thank you. lol I'm just getting started with extensions so I might have quite a bit more coming.
Mar 15 '10 #3
Markus
6,050 Recognized Expert Expert
Good stuff :) I look forward to it.
Mar 15 '10 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

0
1579
by: Dario Gonzalez | last post by:
Hi all, I've just finished my first dynamically-loadable-cpp-implemented PHP extension and now I need to know how to call a userland PHP function from inside the extension. I need to use...
4
61387
by: Biffo | last post by:
I have PHP Version 5.0.3 installed on Windows XP Pro with IIS as the webserver. All is working well, except I get a - Fatal error: Call to undefined function mssql_connect() in...
6
2294
by: Robin Becker | last post by:
I'm trying to better my understanding of multithreading. I believe a thread that calls an extension must have the GIL. What happens if the extension then calls back into Python? Can a function or...
2
18561
by: Michael Strorm | last post by:
Hi, I'm using PHP 4.3.9 with Apache 2.0, and keep getting the error " PHP Fatal error: Call to undefined function: domxml_open_file() in /var/www/html/php/domtest.php on line 8" (from the...
26
3095
by: Adam Warner | last post by:
Hello all, I'm very new to C but I have a number of years of Common Lisp programming experience. I'm trying to figure out ways of translating higher order concepts such as closures into C. The...
1
5323
by: George W. Jackson | last post by:
I copied the code below and saved it as a .vbs file. Can anyone tell me why I would be getting an 800A0005 error while another XP Pro. and a 2000 machine can run it just fine? The error is "An...
5
2282
by: SStory | last post by:
Hi all, I really needed to get the icons associated with each file that I want to show in a listview. I used the follow modified code sniplets found on the internet. I have left in...
1
18041
by: drewmania001 | last post by:
i've read various info on the web including the following http://php.mirrors.ilisys.com.au/manual/en/ref.mysqli.php mySQL Version 4.1.16 PHP Version 5.1.2 with Zend Engine v2.1.0 OS Windows...
3
5123
by: dumbledad | last post by:
Hi All, I know this comes up lots but I have tried the previously posted solutions and they are not working for me. I have a new installation of MySQL and PHP running on Windows Server 2003 SP2...
46
3787
by: Steven T. Hatton | last post by:
I just read §2.11.3 of D&E, and I have to say, I'm quite puzzled by what it says. http://java.sun.com/docs/books/tutorial/essential/concurrency/syncrgb.html <shrug> -- NOUN:1. Money or...
0
7242
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7353
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
7075
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7508
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5662
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4737
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3212
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
781
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
446
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.