473,440 Members | 1,782 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,440 software developers and data experts.

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.
Mar 15 '10 #1

✓ answered by Markus

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)

3 3355
Markus
6,050 Expert 4TB
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
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 Expert 4TB
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
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
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
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
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
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
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
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
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
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
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
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
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
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
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
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
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.