[php-maint] Bug#463255: Bug#463255: php5: Reflection object fails to recognise runtime class properties as public

Raphael Geissert atomo64 at gmail.com
Wed Jan 30 20:37:18 UTC 2008


tag 463255 confirmed
notfound 463255 5.2.4-2+b1
notfound 463255 5.2.5-1
thanks

On 30/01/2008, mark.2391 at blueyonder.co.uk <mark.2391 at blueyonder.co.uk> wrote:
> Package: php5
> Version: 5.2.0-8+etch10
> Severity: important
>
> According to a friend, the code below works correctly on PHP 5.2.3 but in the current Debian stable distribuion it fails to produce the right result. Note that the
> myRuntimeProperty is absent from the second var_dump at the end.
>

Running 5.2.5-1
Dumping object:
object(Test)#1 (2) {
  ["myDeclaredProperty"]=>
  int(1)
  ["myRuntimeProperty"]=>
  int(2)
}
Dumping public properties according to Reflection object
array(2) {
  ["myDeclaredProperty"]=>
  int(1)
  ["myRuntimeProperty"]=>
  int(2)
}

Running 5.2.0-8+etch10
Dumping object:
object(Test)#1 (2) {
  ["myDeclaredProperty"]=>
  int(1)
  ["myRuntimeProperty"]=>
  int(2)
}
Dumping public properties according to Reflection object
Segmentation fault

That looks even worst.

I'll try to provide a backtrace as soon as I recompile php5 with the
debug symbols.

>
>
> -- System Information:
> Debian Release: 4.0
>   APT prefers stable
>   APT policy: (1001, 'stable')
> Architecture: amd64 (x86_64)
> Shell:  /bin/sh linked to /bin/bash
> Kernel: Linux 2.6.18-5-amd64
> Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
>
> Versions of packages php5 depends on:
> ii  libapache2-mod-php5       5.2.0-8+etch10 server-side, HTML-embedded scripti
> ii  php5-common               5.2.0-8+etch10 Common files for packages built fr
>
> php5 recommends no packages.
>
> -- no debconf information
>
>
>
>
> _______________________________________________
> pkg-php-maint mailing list
> pkg-php-maint at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-php-maint
>


-- 
Atomo64 - Raphael

Please avoid sending me Word, PowerPoint or Excel attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html

Say NO to Microsoft Office broken standard.
See http://www.noooxml.org/petition





More information about the pkg-php-maint mailing list