Is SPL implemented in C or php

This is a discussion on Is SPL implemented in C or php within the PHP Language forums, part of the PHP Programming Forums category; I have a C++ background and I now trying to learn PHP. Today I ran across the SPL classes. How ...


Go Back   Usenet Forums > PHP Programming Forums > PHP Language

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-12-2008
kurt.krueckeberg@gmail.com
 
Posts: n/a
Default Is SPL implemented in C or php

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?



Reply With Quote
  #2 (permalink)  
Old 06-12-2008
Michael Fesser
 
Posts: n/a
Default Re: Is SPL implemented in C or php

..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
Reply With Quote
  #3 (permalink)  
Old 06-12-2008
kurt.krueckeberg@gmail.com
 
Posts: n/a
Default Re: Is SPL implemented in C or php

On Jun 11, 5:12 pm, Michael Fesser <neti...@gmx.de> wrote:
> 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
Reply With Quote
  #4 (permalink)  
Old 06-12-2008
kurt.krueckeberg@gmail.com
 
Posts: n/a
Default Re: Is SPL implemented in C or php

>
> 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.



Reply With Quote
  #5 (permalink)  
Old 06-12-2008
AnrDaemon
 
Posts: n/a
Default Re: Is SPL implemented in C or php

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/


--
Sincerely Yours, AnrDaemon <anrdaemon@freemail.ru>

Reply With Quote
  #6 (permalink)  
Old 06-12-2008
kurt.krueckeberg@gmail.com
 
Posts: n/a
Default Re: Is SPL implemented in C or php



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

o.k. thank you. I didn't realize it was part of PECL.
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 09:57 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0