# 5.1.0RC2

- Thread: https://externals.io/message/18869
- Original archive: https://news-web.php.net/php.internals/18869
- Started by Zeev Suraski on 2005-09-14T11:20:21+00:00
- Messages: 40
- Page 1 of 2: messages 1 to 25 (25 per page, add `?page=N` to the URL)
- Next page: https://externals.io/message/18869.md?page=2
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · RFCs at https://externals.io/rfc.md · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #18869 — Zeev Suraski — 2005-09-14T11:20:21+00:00

URL: https://externals.io/message/18869#18869

Any last minute additions to 5.1.0RC2 or can we roll it?

Zeev

---

## #18870 — Pierre-Alain Joye — 2005-09-14T11:41:21+00:00

URL: https://externals.io/message/18869#18870 · In reply to: #18869

> Any last minute additions to 5.1.0RC2 or can we roll it?

 cd php-src/pear && wget http://pear.php.net/install-pear.phar

for both sources and win32 releases. As a little reminder :)

--Pierre

---

## #18895 — Uwe Schindler — 2005-09-14T13:49:41+00:00

URL: https://externals.io/message/18869#18895 · In reply to: #18869

No NEW problems on Solaris 9, only with latest 5.1 snapshot:

* "make test" still does not work
* "make install" fails because some PEAR components are missing (see 
mail of Pierre)
* configure prints out a lot of garbage when testing for bison (which 
is missing on my solaris machine)

Uwe

At 13:20 14.09.2005, Zeev Suraski wrote:
>Any last minute additions to 5.1.0RC2 or can we roll it?
>
>Zeev
>
>--
>
>
>

-----
Uwe Schindler
thetaphi@php.net - http://www.php.net
NSAPI SAPI developer
Bremen, Germany

---

## #18937 — Pierre Joye — 2005-09-14T13:57:36+00:00

URL: https://externals.io/message/18869#18937 · In reply to: #18895

> No NEW problems on Solaris 9, only with latest 5.1 snapshot:
> 
> * "make test" still does not work
> * "make install" fails because some PEAR components are missing (see
> mail of Pierre)

Uwe, _you_ have to do it while testing from CVS :)

See pear/install-pear.txt.

--Pierre

---

## #18902 — Andi Gutmans — 2005-09-14T14:02:11+00:00

URL: https://externals.io/message/18869#18902 · In reply to: #18869

Yep, Observer and friends should be renamed to Spl*.

At 04:20 AM 9/14/2005, Zeev Suraski wrote:
>Any last minute additions to 5.1.0RC2 or can we roll it?
>
>Zeev

---

## #18901 — Jani Taskinen — 2005-09-14T14:18:34+00:00

URL: https://externals.io/message/18869#18901 · In reply to: #18895

> * "make test" still does not work

     Like..how?

> * configure prints out a lot of garbage when testing for bison (which is 
> missing on my solaris machine)

     And the garbage is..?

     --Jani

---

## #18903 — Marcus Boerger — 2005-09-14T14:39:08+00:00

URL: https://externals.io/message/18869#18903 · In reply to: #18869

Hello Zeev,

  i tried to get any feedback from You or andi regarding SPL but none of you
replied so far. Question is whether i should rename some of the new interfaces
and classes to be prefixed by 'Spl'. Also should i drop all constants in SPL
and instead provide class constants whcih we can do right now? Yes i know
that might be BC issue but i'd say it is worth the little break and i am
quite sure we shouldn't do it after 5.1 is out. And Last but not least i'd
like to MFH two of the new classes if you don#t mind.

marcus

Wednesday, September 14, 2005, 1:20:21 PM, you wrote:

> Any last minute additions to 5.1.0RC2 or can we roll it?

> Zeev




Best regards,
 Marcus

---

## #18904 — Zeev Suraski — 2005-09-14T14:45:32+00:00

URL: https://externals.io/message/18869#18904 · In reply to: #18869

At 17:39 14/09/2005, Marcus Boerger wrote:
>Hello Zeev,
>
>   i tried to get any feedback from You or andi regarding SPL but none of you
>replied so far. Question is whether i should rename some of the new interfaces
>and classes to be prefixed by 'Spl'. Also should i drop all constants in SPL
>and instead provide class constants whcih we can do right now? Yes i know
>that might be BC issue but i'd say it is worth the little break and i am
>quite sure we shouldn't do it after 5.1 is out.

Yes, we should do the renaming and rescoping.  Can you do it today so that 
we can roll RC2 tomorrow?

>  And Last but not least i'd
>like to MFH two of the new classes if you don#t mind.

I personally don't mind.  Make sure they're prefixed :)

Zeev

---

## #18905 — Uwe Schindler — 2005-09-14T14:55:35+00:00

URL: https://externals.io/message/18869#18905 · In reply to: #18901

At 16:18 14.09.2005, you wrote:
>
>
> > […]
>
>     Like..how?

I posted this one month ago (other thread).
It fails when calling "test" with an empty expression:

pangaeaw@pans1:~/install/php5-200509141230$ gmake test

Build complete.
(It is safe to ignore warnings about tempnam and tmpnam).

/bin/sh: test: argument expected
gmake: [test] Error 1 (ignored)
pangaeaw@pans1:~/install/php5-200509141230$

4.3 and 5.0 worked in the past.

> > […]
>
>     And the garbage is..?

checking whether ln -s works... yes
checking if compiler supports -R... yes
checking for re2c... no
configure: warning: You will need re2c 0.98 or later if you want to 
regenerate PHP parsers.
checking for gawk... gawk
checking for bison... no
checking for byacc... no
checking for bison version... ./configure: bison: not found
AWK=gawk
CC=gcc
CFLAGS=-g -O2
CONFIGURE_COMMAND= './configure' '--prefix=/pangaea/gnu' 
'--enable-cli' '--with-nsapi=/pangaea/webserver61' 
'--with-sybase-ct=/opt/csw' '--with-mysql=/opt/csw/mysql4' 
'--enable-ftp' '--enable-versioning' '--enable-session' 
'--enable-trans-sid' '--with-zlib=/opt/csw' '--enable-mbstring=all' 
'--with-openssl=/opt/csw' '--with-gd' '--with-png-dir=/opt/csw' 
'--with-jpeg-dir=/opt/csw' '--with-ttf=/opt/csw' 
'--with-libxml-dir=/opt/csw' '--with-iconv=/opt/csw' 
'--with-iconv-dir=/opt/csw' '--with-xsl=/opt/csw' '--enable-soap' 
'--without-sqlite' '--enable-exif' '--with-curl=/opt/csw' 
'--with-curlwrappers' '--with-pdo-mysql=/opt/csw/mysql4' 
'--with-xmlrpc' '--without-pdo-sqlite' '--with-pdo-dblib=/opt/csw'
CONFIG_SITE=/pangaea/gnu/share/config.site /pangaea/gnu/etc/config.site
CPP=gcc -E
CYGWIN=
ECHO=/usr/ucb/echo
EGREP=egrep
EXTRA_VERSION=RC2-dev
GCC=yes
HOME=/pangaea
HOSTNAME=pans1
HOSTTYPE=sparc

....... and more crap ....

then:
with_xsl=/opt/csw
with_zlib=/opt/csw
x_includes=NONE
x_libraries=NONE
invalid
configure: warning: bison versions supported for regeneration of the 
Zend/PHP parsers: 1.28 1.35 1.75 1.875 2.0  (found: dummy.byacc).
checking for flex... lex
checking for yywrap in -ll... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... no
checking for working const... yes
checking for flex version... invalid
configure: warning: flex versions supported for regeneration of the 
Zend/PHP parsers: 2.5.4  (found: ).
checking whether to force non-PIC code in shared modules... no
checking for pthreads_cflags... ^C

But configure works.

Greetings,
Uwe


-----
Uwe Schindler
thetaphi@php.net - http://www.php.net
NSAPI SAPI developer
Bremen, Germany

---

## #18906 — Edin Kadribasic — 2005-09-14T14:56:38+00:00

URL: https://externals.io/message/18869#18906 · In reply to: #18903

Marcus Boerger wrote:
> Hello Zeev,
> 
>   i tried to get any feedback from You or andi regarding SPL but none of you
> replied so far. Question is whether i should rename some of the new interfaces
> and classes to be prefixed by 'Spl'. Also should i drop all constants in SPL
> and instead provide class constants whcih we can do right now? Yes i know
> that might be BC issue but i'd say it is worth the little break and i am
> quite sure we shouldn't do it after 5.1 is out. And Last but not least i'd
> like to MFH two of the new classes if you don#t mind.

Hm, prefixing "new" interfaces and classes with Spl is the worst thing
one could do IMHO. Wouldn't it be the best to prefix *all* Spl
interfaces and classes?

Edin

---

## #18907 — Marcus Boerger — 2005-09-14T14:57:30+00:00

URL: https://externals.io/message/18869#18907 · In reply to: #18904

Hello Zeev,

  phew i take a deep breathe and give my best

marcus

Wednesday, September 14, 2005, 4:45:32 PM, you wrote:

> At 17:39 14/09/2005, Marcus Boerger wrote:
> > […]

> Yes, we should do the renaming and rescoping.  Can you do it today so that 
> we can roll RC2 tomorrow?

> > […]

> I personally don't mind.  Make sure they're prefixed :)

> Zeev




Best regards,
 Marcus

---

## #18908 — Greg Beaver — 2005-09-14T15:14:02+00:00

URL: https://externals.io/message/18869#18908 · In reply to: #18870

Pierre-Alain Joye wrote:
> 
> 
> > […]
> 
> 
>  cd php-src/pear && wget http://pear.php.net/install-pear.phar
> 
> for both sources and win32 releases. As a little reminder :)

Quick note: windows needs go-pear.phar, I will try to take care of this
and also a little php script that will grab install-pear.phar if it
isn't there, so that there is no need to wget install-pear.phar for the
bundler, and the end-user can always grab the latest .phar.

This way, there is no wget dependency, since Andi reports that it may
not be available on all systems, and no hassle for the person
installing.  The script will not attempt to do proxying, people with
complex internet connections will just have to download it themselves.

Objections?

Greg

---

## #18909 — Edin Kadribasic — 2005-09-14T15:19:09+00:00

URL: https://externals.io/message/18869#18909 · In reply to: #18908

Greg Beaver wrote:
> Pierre-Alain Joye wrote:
> 
> > […]
> 
> 
> Quick note: windows needs go-pear.phar, I will try to take care of this
> and also a little php script that will grab install-pear.phar if it
> isn't there, so that there is no need to wget install-pear.phar for the
> bundler, and the end-user can always grab the latest .phar.
> 
> This way, there is no wget dependency, since Andi reports that it may
> not be available on all systems, and no hassle for the person
> installing.  The script will not attempt to do proxying, people with
> complex internet connections will just have to download it themselves.
> 
> Objections?

Here! :)

I have modified the build system for windows already using Pierre's
suggestion (install-peaer.phar).

Please check the latest 5.1 snap:
http://snaps.php.net/win32/php5.1-win32-200509141430.zip

Edin

---

## #18910 — Jessie Hernandez — 2005-09-14T15:34:45+00:00

URL: https://externals.io/message/18869#18910 · In reply to: #18906

I agree with Edin. To be consistent, either all interfaces and classes
should be prefixed or none should be prefixed. On the other hand, prefixing
all the old classes/interfaces will cause BC breaks.

<shameless-plug>
This is one case where namespaces are useful. With my namespace patch, all
that would have to be done is to name the class as SPL:Observer. Users can
either implement SPL:Observer or first "import SPL:Observer;" and then
implement Observer.
</shameless-plug>


Regards,

Jessie


"Edin Kadribasic" <edink@emini.dk> wrote in message
news:43283A26.7060000@emini.dk...
> Marcus Boerger wrote:
> > […]
you
> > […]
interfaces
> > […]
SPL
> > […]
know
> > […]
i'd
> > […]
>
> Hm, prefixing "new" interfaces and classes with Spl is the worst thing
> one could do IMHO. Wouldn't it be the best to prefix *all* Spl
> interfaces and classes?
>
> Edin

---

## #18912 — Jani Taskinen — 2005-09-14T15:55:16+00:00

URL: https://externals.io/message/18869#18912 · In reply to: #18905

> At 16:18 14.09.2005, you wrote:
>
> /bin/sh: test: argument expected
> gmake: [test] Error 1 (ignored)
> pangaeaw@pans1:~/install/php5-200509141230$

     Do you know why this happens? :)
     (in Makefile, remove the -@ from the line below test:)

> > […]

     Fixed in CVS.

     --Jani

---

## #18913 — ondrej@kmit.sk — 2005-09-14T16:08:51+00:00

URL: https://externals.io/message/18869#18913 · In reply to: #18910

Jessie Hernandez wrote:
> <shameless-plug>
> This is one case where namespaces are useful. With my namespace patch, all
> that would have to be done is to name the class as SPL:Observer. Users can
> either implement SPL:Observer or first "import SPL:Observer;" and then
> implement Observer.
> </shameless-plug>

Yes, this is a right task for a namespaces.

What is current status of a patch? It will be included?

-- 
Ondrej Ivanič
(ondrej@kmit.sk

---

## #18915 — Marcus Boerger — 2005-09-14T16:13:25+00:00

URL: https://externals.io/message/18869#18915 · In reply to: #18910

Hello Jessie,

   well the best solution would be to drop the 'Spl' prefix for 5.1 and wait
for namespaces since they are imo the only solution.

marcus

Wednesday, September 14, 2005, 5:34:45 PM, you wrote:

> I agree with Edin. To be consistent, either all interfaces and classes
> should be prefixed or none should be prefixed. On the other hand, prefixing
> all the old classes/interfaces will cause BC breaks.

> <shameless-plug>
> This is one case where namespaces are useful. With my namespace patch, all
> that would have to be done is to name the class as SPL:Observer. Users can
> either implement SPL:Observer or first "import SPL:Observer;" and then
> implement Observer.
> </shameless-plug>


> Regards,

> Jessie


> "Edin Kadribasic" <edink@emini.dk> wrote in message
> news:43283A26.7060000@emini.dk...
> > […]
> you
> > […]
> interfaces
> > […]
> SPL
> > […]
> know
> > […]
> i'd
> > […]




Best regards,
 Marcus

---

## #18918 — Greg Beaver — 2005-09-14T17:54:48+00:00

URL: https://externals.io/message/18869#18918 · In reply to: #18909

Edin Kadribasic wrote:

>Greg Beaver wrote:
>  
>
> > […]
>
>Here! :)
>
>I have modified the build system for windows already using Pierre's
>suggestion (install-peaer.phar).
>
>Please check the latest 5.1 snap:
>http://snaps.php.net/win32/php5.1-win32-200509141430.zip
>

Great!  There is only one issue with this, which is that
install-pear.phar simply uses the default installation location.  This
means that since this is C:\php5, PEAR will be simply be installed there
without any user input.  If you simply switch out install-pear.phar for
go-pear.phar, it will allow users to configure this completely. 
go-pear.phar is at:

http://pear.php.net/go-pear.phar

Thanks,
Greg

---

## #18919 — Jani Taskinen — 2005-09-14T17:58:08+00:00

URL: https://externals.io/message/18869#18919 · In reply to: #18905

All fixed now.

     --Jani




>
> At 16:18 14.09.2005, you wrote:
> > […]
>
> I posted this one month ago (other thread).
> It fails when calling "test" with an empty expression:
>
> pangaeaw@pans1:~/install/php5-200509141230$ gmake test
>
> Build complete.
> (It is safe to ignore warnings about tempnam and tmpnam).
>
> /bin/sh: test: argument expected
> gmake: [test] Error 1 (ignored)
> pangaeaw@pans1:~/install/php5-200509141230$
>
> 4.3 and 5.0 worked in the past.
>
> > […]
>
> checking whether ln -s works... yes
> checking if compiler supports -R... yes
> checking for re2c... no
> configure: warning: You will need re2c 0.98 or later if you want to regenerate 
> PHP parsers.
> checking for gawk... gawk
> checking for bison... no
> checking for byacc... no
> checking for bison version... ./configure: bison: not found
> AWK=gawk
> CC=gcc
> CFLAGS=-g -O2
> CONFIGURE_COMMAND= './configure' '--prefix=/pangaea/gnu' '--enable-cli' 
> '--with-nsapi=/pangaea/webserver61' '--with-sybase-ct=/opt/csw' 
> '--with-mysql=/opt/csw/mysql4' '--enable-ftp' '--enable-versioning' 
> '--enable-session' '--enable-trans-sid' '--with-zlib=/opt/csw' 
> '--enable-mbstring=all' '--with-openssl=/opt/csw' '--with-gd' 
> '--with-png-dir=/opt/csw' '--with-jpeg-dir=/opt/csw' '--with-ttf=/opt/csw' 
> '--with-libxml-dir=/opt/csw' '--with-iconv=/opt/csw' 
> '--with-iconv-dir=/opt/csw' '--with-xsl=/opt/csw' '--enable-soap' 
> '--without-sqlite' '--enable-exif' '--with-curl=/opt/csw' 
> '--with-curlwrappers' '--with-pdo-mysql=/opt/csw/mysql4' '--with-xmlrpc' 
> '--without-pdo-sqlite' '--with-pdo-dblib=/opt/csw'
> CONFIG_SITE=/pangaea/gnu/share/config.site /pangaea/gnu/etc/config.site
> CPP=gcc -E
> CYGWIN=
> ECHO=/usr/ucb/echo
> EGREP=egrep
> EXTRA_VERSION=RC2-dev
> GCC=yes
> HOME=/pangaea
> HOSTNAME=pans1
> HOSTTYPE=sparc
>
> ....... and more crap ....
>
> then:
> with_xsl=/opt/csw
> with_zlib=/opt/csw
> x_includes=NONE
> x_libraries=NONE
> invalid
> configure: warning: bison versions supported for regeneration of the Zend/PHP 
> parsers: 1.28 1.35 1.75 1.875 2.0  (found: dummy.byacc).
> checking for flex... lex
> checking for yywrap in -ll... yes
> checking lex output file root... lex.yy
> checking whether yytext is a pointer... no
> checking for working const... yes
> checking for flex version... invalid
> configure: warning: flex versions supported for regeneration of the Zend/PHP 
> parsers: 2.5.4  (found: ).
> checking whether to force non-PIC code in shared modules... no
> checking for pthreads_cflags... ^C
>
> But configure works.
>
> Greetings,
> Uwe
>
>
> -----
> Uwe Schindler
> thetaphi@php.net - http://www.php.net
> NSAPI SAPI developer
> Bremen, Germany
>
>

-- 
Donate @ http://pecl.php.net/wishlist.php/sniper

---

## #18934 — Pierre Joye — 2005-09-14T18:11:07+00:00

URL: https://externals.io/message/18869#18934 · In reply to: #18918

> http://pear.php.net/go-pear.phar

For the distros, let use the same system. If one would like to
customize, he is free to use go.pear.phar at a later point.

Regards,

--PIerre

---

## #18926 — Andi Gutmans — 2005-09-14T19:55:32+00:00

URL: https://externals.io/message/18869#18926 · In reply to: #18903

I am sure I answered but I see Zeev has now (pretty much what I answered too :)

At 07:39 AM 9/14/2005, Marcus Boerger wrote:
>Hello Zeev,
>
>   i tried to get any feedback from You or andi regarding SPL but none of you
>replied so far. Question is whether i should rename some of the new interfaces
>and classes to be prefixed by 'Spl'. Also should i drop all constants in SPL
>and instead provide class constants whcih we can do right now? Yes i know
>that might be BC issue but i'd say it is worth the little break and i am
>quite sure we shouldn't do it after 5.1 is out. And Last but not least i'd
>like to MFH two of the new classes if you don#t mind.
>
>marcus
>
>Wednesday, September 14, 2005, 1:20:21 PM, you wrote:
>
> > […]
>
> > […]
>
>
>
>
>Best regards,
>  Marcus

---

## #18929 — Marcus Boerger — 2005-09-14T20:13:15+00:00

URL: https://externals.io/message/18869#18929 · In reply to: #18926

Hello Andi,

  ok, i am on it right now (the one answer was from today, i received it
while i was typing the other).

regards
marcus

Wednesday, September 14, 2005, 9:55:32 PM, you wrote:

> I am sure I answered but I see Zeev has now (pretty much what I answered too :)

> At 07:39 AM 9/14/2005, Marcus Boerger wrote:
> > […]




Best regards,
 Marcus

---

## #18931 — Edin Kadibasic — 2005-09-14T21:12:11+00:00

URL: https://externals.io/message/18869#18931 · In reply to: #18918

Greg Beaver wrote:
> Great!  There is only one issue with this, which is that
> install-pear.phar simply uses the default installation location.  This
> means that since this is C:\php5, PEAR will be simply be installed there
> without any user input.  If you simply switch out install-pear.phar for
> go-pear.phar, it will allow users to configure this completely. 
> go-pear.phar is at:
> 
> http://pear.php.net/go-pear.phar

Ok. Please check out the next snap (in two hours or so).

Edin

---

## #18936 — Marcus Boerger — 2005-09-14T21:55:33+00:00

URL: https://externals.io/message/18869#18936 · In reply to: #18906

Hello Edin,

  well imho it makes no sense to prefix all the iterators with Spl and also
most of them are released already with 5.0. Changing those is to big of a BC
issue isn't it? I mean it is different from changing a few consts very
rarely used to class consts.

marcus

Wednesday, September 14, 2005, 4:56:38 PM, you wrote:

> Marcus Boerger wrote:
> > […]

> Hm, prefixing "new" interfaces and classes with Spl is the worst thing
> one could do IMHO. Wouldn't it be the best to prefix *all* Spl
> interfaces and classes?

> Edin




Best regards,
 Marcus

---

## #18940 — Antony Dovgal — 2005-09-14T23:24:40+00:00

URL: https://externals.io/message/18869#18940 · In reply to: #18869

> Any last minute additions to 5.1.0RC2 or can we roll it?

If it's not too late I'd like to fix http://bugs.php.net/bug.php?id=34505 before RC2.

It'll require addition of zend_unmangle_property_name_ex() and changing 
several files to use it instead of zend_unmangle_property_name() (nothing serious 
though), as the latter may lead to segfaults etc.

I'll post the patch in the morning.

-- 
Wbr, 
Antony Dovgal

---

Next page: https://externals.io/message/18869.md?page=2
