#31318 [Com]: Static method invocation with classname in a variable
ID: 31318 Comment by: markus at cultcom dot de Reported By: [EMAIL PROTECTED] Status: No Feedback Bug Type: Feature/Change Request Operating System: Irrelevant PHP Version: 5CVS-2004-12-28 (dev) New Comment: This still does'nt work and I would realy like to see this working because it is very ugly to use eval("return $className::method();") as a workaround... Previous Comments: [2005-05-10 01:00:03] php-bugs at lists dot php dot net No feedback was provided for this bug for over a week, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". [2005-05-02 11:59:41] [EMAIL PROTECTED] ReflectionAPI? [2004-12-28 10:35:24] [EMAIL PROTECTED] Description: Static members of a class should be accessible even if the classname is stored in a variable. Reproduce code: --- Expected result: Foo::bar() Actual result: -- Parse error: parse error in D:\foo.php on line 9 -- Edit this bug report at http://bugs.php.net/?id=31318&edit=1
#33473 [Com]: Apache crash on assigning new object to $_SESSION
ID: 33473 Comment by: markus at cultcom dot de Reported By: webmaster at mif dot it Status: No Feedback Bug Type: Session related Operating System: Win XP Pro PHP Version: 5.0.4 New Comment: This bug is reproducable with FC4 PHP Packages here (5.0.4), is this acutally fixed in 5.0.5? Previous Comments: [2005-07-03 01:00:04] php-bugs at lists dot php dot net No feedback was provided for this bug for over a week, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". [2005-06-25 20:11:29] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php5-latest.tar.gz For Windows: http://snaps.php.net/win32/php5-win32-latest.zip [2005-06-25 17:19:16] webmaster at mif dot it Description: To instantiate a new object and assigning it to a not initialized session variable, will result in Apache/php dll to crash. Reproduce code: --- # This will crash Apache/php5 dll $_SESSION['myvar'] = new MyObj(); # This will be executed without problems $_SESSION['myvar'] = null; $_SESSION['myvar'] = new MyObj(); Expected result: That Apache / PHP doesn't crash. -- Edit this bug report at http://bugs.php.net/?id=33473&edit=1
#35266 [NEW]: __CLASS__ is not always right
From: markus at cultcom dot de Operating system: Linux (Fedora Core 4) PHP version: 5.0.5 PHP Bug Type: Feature/Change Request Bug description: __CLASS__ is not always right Description: __CLASS__ does not contain the correct class name in a generic class if method is called from a derived class. Reproduce code: --- Expected result: If I call a method which was implemented in a parent class I need in any way access to the name of the class which actually was asked to execute the method... Actual result: -- Always the name of the class that actualy implements the method. -- Edit bug report at http://bugs.php.net/?id=35266&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=35266&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=35266&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=35266&r=trysnapshot51 Fixed in CVS:http://bugs.php.net/fix.php?id=35266&r=fixedcvs Fixed in release:http://bugs.php.net/fix.php?id=35266&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=35266&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=35266&r=needscript Try newer version: http://bugs.php.net/fix.php?id=35266&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=35266&r=support Expected behavior: http://bugs.php.net/fix.php?id=35266&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=35266&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=35266&r=submittedtwice register_globals:http://bugs.php.net/fix.php?id=35266&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=35266&r=php3 Daylight Savings:http://bugs.php.net/fix.php?id=35266&r=dst IIS Stability: http://bugs.php.net/fix.php?id=35266&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=35266&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=35266&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=35266&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=35266&r=mysqlcfg
#29840 [NEW]: is_executable does not honor the safe_mode!
From: markus at cultcom dot de Operating system: Linux 2.4.x PHP version: 4.3.8 PHP Bug Type: Filesystem function related Bug description: is_executable does not honor the safe_mode! Description: Seems to be a common problem nobody complains about... "is_executable()" does not work in safe_mode! Some PHP-Projects check for sendmail using this function and don't work in safe_mode even if sendmail acutally IS executable (i.e. PEAR: Mail.php). is_executable() should at least honor the safe_mode_exec_dir directive! Reproduce code: --- Try with PHP/CGI and suexec + safe_mode where example-UID != sendmail-UID Expected result: true, what else? Actual result: -- false. -- Edit bug report at http://bugs.php.net/?id=29840&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=29840&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=29840&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=29840&r=trysnapshot51 Fixed in CVS:http://bugs.php.net/fix.php?id=29840&r=fixedcvs Fixed in release:http://bugs.php.net/fix.php?id=29840&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=29840&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=29840&r=needscript Try newer version: http://bugs.php.net/fix.php?id=29840&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=29840&r=support Expected behavior: http://bugs.php.net/fix.php?id=29840&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=29840&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=29840&r=submittedtwice register_globals:http://bugs.php.net/fix.php?id=29840&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=29840&r=php3 Daylight Savings:http://bugs.php.net/fix.php?id=29840&r=dst IIS Stability: http://bugs.php.net/fix.php?id=29840&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=29840&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=29840&r=float
#26450 [NEW]: problem with gdft.c
From: markus at cultcom dot de Operating system: Linux, Debian 3.0 woody PHP version: 4.3.4 PHP Bug Type: Compile Failure Bug description: problem with gdft.c Description: PHP 4.3.x does not compile with libgd 2.0.15 and freetype 2.1.7! I always get the error: /usr/include/freetype2/freetype/freetype.h:20: #error "`ft2build.h' hasn't been included yet!" /usr/include/freetype2/freetype/freetype.h:21: #error "Please always use macros to include FreeType header files." /usr/include/freetype2/freetype/freetype.h:22: #error "Example:" /usr/include/freetype2/freetype/freetype.h:23: #error " #include " /usr/include/freetype2/freetype/freetype.h:24: #error " #include FT_FREETYPE_H" make: *** [ext/gd/libgd/gdft.lo] Error 1 Reproduce code: --- debian:# cd ext/gd/libgd debian:# diff gdft.c.orig gdft.c 62a63 > #include debian:# With this include it works! -- Edit bug report at http://bugs.php.net/?id=26450&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=26450&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=26450&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=26450&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=26450&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=26450&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=26450&r=needscript Try newer version: http://bugs.php.net/fix.php?id=26450&r=oldversion Not developer issue:http://bugs.php.net/fix.php?id=26450&r=support Expected behavior: http://bugs.php.net/fix.php?id=26450&r=notwrong Not enough info:http://bugs.php.net/fix.php?id=26450&r=notenoughinfo Submitted twice:http://bugs.php.net/fix.php?id=26450&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=26450&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=26450&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=26450&r=dst IIS Stability: http://bugs.php.net/fix.php?id=26450&r=isapi Install GNU Sed:http://bugs.php.net/fix.php?id=26450&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=26450&r=float