Click here to get back home

Is SPL implemented in C or php

 HomeNewsGroups | Search | About
 comp.lang.php    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Is SPL implemented in C or php kurt.krueckeberg 06-11-2008
Get Chitika Premium
Posted by kurt.krueckeberg on June 11, 2008, 6:00 pm
Please log in for more thread options
I have a C++ background and I now trying to learn PHP. Today I ran
across the SPL classes. How efficient are these classes? Are they
ultimately natively supported by the PHP interpretor, or are they
simply a number of classes entirely implemented in php?




Posted by Michael Fesser on June 11, 2008, 6:12 pm
Please log in for more thread options
.oO(kurt.krueckeberg@gmail.com)

>I have a C++ background and I now trying to learn PHP. Today I ran
>across the SPL classes. How efficient are these classes? Are they
>ultimately natively supported by the PHP interpretor, or are they
>simply a number of classes entirely implemented in php?

The SPL extension is written in C. You can download the PHP source
tarball and have a look at it.

Micha

Posted by kurt.krueckeberg on June 11, 2008, 6:35 pm
Please log in for more thread options
> The SPL extension is written in C. You can download the PHP source
> tarball and have a look at it.

Thanks for the reply.

--kurt

Posted by kurt.krueckeberg on June 11, 2008, 6:46 pm
Please log in for more thread options
>
> The SPL extension is written in C. You can download the PHP source
> tarball and have a look at it.
Just so that I'm certain. Classes such as SplDoublyLinkedList,
SplStack, SplQueue, SplHeap, SplMaxHeap and SplMinHeap are native
types
supported in the PHP interpreter. I grepped on the PHP source code (on
"*.h" and "*.c") for SplDoublyLinkedList and grep didn't find any
hits.




Posted by AnrDaemon on June 11, 2008, 7:22 pm
Please log in for more thread options
Greetings, kurt.krueckeberg@gmail.com.
In reply to Your message dated Thursday, June 12, 2008, 02:46:01,

>>
>> The SPL extension is written in C. You can download the PHP source
>> tarball and have a look at it.
> Just so that I'm certain. Classes such as SplDoublyLinkedList,
> SplStack, SplQueue, SplHeap, SplMaxHeap and SplMinHeap are native
> types
> supported in the PHP interpreter. I grepped on the PHP source code (on
> "*.h" and "*.c") for SplDoublyLinkedList and grep didn't find any
> hits.

Grep the php_spl_types extension sources.
It is PECL extension, just to notify.
http://pecl.php.net/


--


Similar ThreadsPosted
how is echo implemented in php August 14, 2007, 4:58 pm
Implemented php script to send e-mail September 7, 2007, 3:14 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap