[PHP-DEV] php id string

2009-11-29 Thread jvlad
Hi all, Starting with version 5.3 php checks id string when it loads the extensions to match its own one and it also shows this string in PHP Extension Build line of phpinfo(). That's great. This line contains api#, threadsafe, and compiler. So it's almost all important thigs to check and make

Re: [PHP-DEV] php id string

2009-11-29 Thread Jess Portnoy
Hello, Have you considered cases such as universal MAC/Darwin builds? The universal build method [used only by Apple but still, many PHP developers do run MAC] means you have several archs bundled together in the same binary, and, a binary built 2 ways [i386 and PPC or i386 and x86_64 or

Re: [PHP-DEV] php id string

2009-11-29 Thread Jess Portnoy
And, though I'm sure everyone on the list is capable of finding this URL on their own, a short explanation: http://en.wikipedia.org/wiki/Universal_binary May the source be with you, Best regards, Jess Portnoy Jess Portnoy wrote: Hello, Have you considered cases such as universal MAC/Darwin

Re: [PHP-DEV] php id string

2009-11-29 Thread Pierre Joye
hi, This info is available in phpinfo on windows and I would like to add it in the php -v output as well. I'm not sure how we can safely rely on this info on other platforms but that's definitively something we should try to do. Cheers, On Sun, Nov 29, 2009 at 11:29 AM, jvlad d...@yandex.ru

Re: [PHP-DEV] php id string

2009-11-29 Thread Jess Portnoy
Perhaps it would be wise to display both the build arch and the current arch on which its running? I used the Darwin/MAC universal build example before but even on Windows and *nix as well when you think about it, one can run a 32bit binary on a 64bit OS, usually provided the stack below

Re: [PHP-DEV] php id string

2009-11-29 Thread Pierre Joye
On Sun, Nov 29, 2009 at 1:19 PM, Jess Portnoy j...@zend.com wrote: just displaying the gathered arch info I can see no harm in though... that's what we do. Cheers, -- Pierre http://blog.thepimp.net | http://www.libgd.org -- PHP Internals - PHP Runtime Development Mailing List To

Re: [PHP-DEV] php id string

2009-11-29 Thread jvlad
Jess Portnoy j...@zend.com wrote in message news:4b1266e0.7010...@zend.com... Perhaps it would be wise to display both the build arch and the current arch on which its running? I used the Darwin/MAC universal build example before but even on Windows and *nix as well when you think about

Re: [PHP-DEV] php id string

2009-11-29 Thread jvlad
Jess Portnoy j...@zend.com wrote in message news:4b125d15.4040...@zend.com... Hello, Have you considered cases such as universal MAC/Darwin builds? The universal build method [used only by Apple but still, many PHP developers do run MAC] means you have several archs bundled together in

Re: [PHP-DEV] php id string

2009-11-29 Thread Jess Portnoy
Apple ships their MAC OS with GCC that is capable of building universal binaries. Most MAC users expect packages to be built universal. Trust me, I also hate it but its true... If what you want is just to ensure the extensions are built for the same architecture as the PHP core, this I can

Re: [PHP-DEV] php id string

2009-11-29 Thread Jess Portnoy
BTW, Macports also support building PHP in universal mode. May the source be with you, Best regards, Jess Portnoy Jess Portnoy wrote: Apple ships their MAC OS with GCC that is capable of building universal binaries. Most MAC users expect packages to be built universal. Trust me, I also hate

Re: [PHP-DEV] php id string

2009-11-29 Thread jvlad
just displaying the gathered arch info I can see no harm in though... that's what we do. hmm, 32bit php binary v5.3.1 under W7-64bit displays Windows NT MyHostName 6.1 build 7600 ((null)) i586 If I needed to know current system, I'd prefer to see SYSTEMNAME,VERSION,HOST,CPU for example:

Re: [PHP-DEV] php id string

2009-11-29 Thread jvlad
Honestly, I see no problem with universal binaries. After all they are not that universal at all. Perhaps you missed another reply where I asked - if you have 4 binaries in one file, why don't you have 4 id strings for them? The problem I see [and it can certainly be that we just don't

[PHP-DEV] SVN Account Request: volker

2009-11-29 Thread Volker Richter
- development of php core - translations ( already had an account few years ago but stopped due to time issues ) -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] SVN Account Request: volker

2009-11-29 Thread Pierre Joye
hi, Which account was it? Cheers, On Sun, Nov 29, 2009 at 7:33 PM, Volker Richter v...@vrmx.eu wrote: - development of php core - translations ( already had an account few years ago but stopped due to time issues ) -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe,

Re: [PHP-DEV] SVN Account Request: volker

2009-11-29 Thread Volker Richter
hi it should be volker the corresponding email was vol...@php.net greetings, + volker hi, Which account was it? Cheers, On Sun, Nov 29, 2009 at 7:33 PM, Volker Richter v...@vrmx.eu wrote: - development of php core - translations ( already had an account few years ago but stopped due to

[PHP-DEV] Re: Using a stream function into another module

2009-11-29 Thread Samuel ROZE
Nobody can help me ? Is there someone who can just give me some astuces ? Regards, Samuel ROZE. 2009/11/27 Samuel ROZE samuel.r...@gmail.com: Hello, I want to use two stream functions (stream_array_to_fd_set and stream_array_from_fd_set) in a module (/etc/modulename/modulename.c). To use

[PHP-DEV] SVN Account Request: satoruyoshida (Re: [PHP-DOC] Can I get CVS account?)

2009-11-29 Thread TAKAGI Masahiro
# Cc'ed to internals list. Hi, Could you please give him the karma for phpdoc (or at least phpdoc/ja) ? On Mon, Nov 30, 2009 at 11:03 AM, Yoshida yosh...@zend.co.jp wrote: Hi, Masahiro-san. I feel very happy because I can meet with You also here ;-) I hope for satoruyoshida or syoshida as

[PHP-DEV] Re: SVN Account Request: satoruyoshida (Re: [PHP-DOC] Can I get CVS account?)

2009-11-29 Thread Philip Olson
On Nov 29, 2009, at 6:17 PM, TAKAGI Masahiro wrote: # Cc'ed to internals list. Hi, Could you please give him the karma for phpdoc (or at least phpdoc/ja) ? Greetings Yoshida and all, I don't believe a SVN account request is on record, so please apply for one and it will be approved