FAQ

Search Discussions

116 discussions - 556 posts

  • I've implemented an additional feature for type hints that will throw an exception instead of bailing out in case an incorrect type is passed. Test script: <?php class Date { } class Article { public ...
    Timm FriebeTimm Friebe
    Mar 27, 2003 at 4:16 pm
    Apr 6, 2003 at 12:33 pm
  • namespace A { namespace B{ class C { function D() { print "asdf\n"; } } } } B::C::D(); Apparently, the parser allows nesting namespaces, but they are all registered as global ones. Should be fixed, I ...
    Andrei ZmievskiAndrei Zmievski
    Mar 26, 2003 at 6:02 pm
    Mar 26, 2003 at 9:34 pm
  • I have the first draft of PHP 5 reflection API ready. You can find it at: http://www.gravitonic.com/software/php/reflection.txt Comments and suggestions are appreciated. -Andrei ...
    Andrei ZmievskiAndrei Zmievski
    Mar 29, 2003 at 8:38 pm
    Apr 8, 2003 at 3:10 pm
  • Pursuant to the introspection portion of TODO-PHP5, here is a small patch that: - Keeps track of starting/ending line numbers for user functions. - Removes extraneous T_ML_COMMENT token. - Stores the ...
    Andrei ZmievskiAndrei Zmievski
    Mar 13, 2003 at 8:51 pm
    Mar 23, 2003 at 9:01 pm
  • Hi I have one idea. Store session data in memory instead file. It's fast when file. Yes I know when script is finish all data is delete. But this can be same like file session. But in memory. ...
    Ján ©uňavecJán ©uňavec
    Mar 26, 2003 at 1:04 pm
    Mar 26, 2003 at 8:22 pm
  • Any news about this bug http://bugs.php.net/bug.php?id=22175 ? Tnx -- michel 'ziobudda' morelli <michel@ziobudda.net
    Michel 'ziobudda' morelliMichel 'ziobudda' morelli
    Mar 18, 2003 at 3:29 pm
    Apr 3, 2003 at 10:21 am
  • Hi! Here are two patches that will fix this user request. I hope they look fine. Btw, they are for php5 HEAD. I don't have any karma so I can't commit them even if they look good. So I will leave ...
    Magnus MaattaMagnus Maatta
    Mar 30, 2003 at 4:20 pm
    Mar 31, 2003 at 2:25 am
  • Hi! I've done some performance tests of PHP with and without ZTS (RH7.2 - pthreads). I've noticed that ZTS is signifcally slower than normal mode. My machine was able to response for 100reqs/s ...
    Wojtek MelerWojtek Meler
    Mar 24, 2003 at 12:58 pm
    Mar 25, 2003 at 7:26 pm
  • Currently when registering functions, the unmodified function name is used as the key for the function table. This leads to problems when an extension class has a constructor that is not all ...
    Andrei ZmievskiAndrei Zmievski
    Mar 18, 2003 at 9:54 pm
    Mar 19, 2003 at 8:43 pm
  • Hello, all Mordred Labs advisory - Integer overflow in PHP socket_iovec_alloc() function. http://www.securitylab.ru/?ID=36819 IMHO it's not integer overflow, but using of nonexisting second ...
    Antony DovgalAntony Dovgal
    Mar 26, 2003 at 9:25 am
    Mar 27, 2003 at 8:57 am
  • Hi, Attached is a patch (+ 2 files) that add a default "exception" class to Zend 2. I find this very useful when you just want to throw a simple exception inside of a try {}, but you don't want to ...
    Sterling HughesSterling Hughes
    Mar 22, 2003 at 9:26 pm
    Mar 23, 2003 at 8:00 am
  • While browsing [fm] today I came across this sexy looking thingy: http://www.badgers-in-foil.co.uk/projects/cvsspam/ Since we're already using chora for http://cvs.php.net/, for which CVSspam has ...
    Sebastian BergmannSebastian Bergmann
    Mar 24, 2003 at 1:00 pm
    Mar 28, 2003 at 12:12 am
  • Based on bug #22815, which talks about unsatisfactory performance of the apache 2 sapi, I've decided to conduct several benchmarks to determine the depth of the problem. Based on my tests (ran using ...
    Ilia A.Ilia A.
    Mar 25, 2003 at 3:51 pm
    Mar 25, 2003 at 10:39 pm
  • SB The lack of a common interface of thrown exceptions hinders the SB development of applications like PHPUnit that need to be able to SB work with *every* possible exception. Don't we have a way to ...
    Stanislav MalyshevStanislav Malyshev
    Mar 23, 2003 at 3:24 pm
    Mar 23, 2003 at 4:04 pm
  • Problem: Solaris libc cannot fopen()/fdopen() more than 255 files. Additionally, it cannot handle file descriptors larger than 255. Although streams now avoids FILE* as much as possible, ZE1 requires ...
    Wez FurlongWez Furlong
    Mar 25, 2003 at 11:38 am
    Mar 26, 2003 at 9:48 am
  • could some1 explain the first if here (php_stripslashes:cybase mode) http://lxr.php.net/source/php4/ext/standard/string.c#2324 that have nothing with slashes but with quotes? could this if be removed ...
    Moshe doronMoshe doron
    Mar 31, 2003 at 12:45 pm
    Mar 31, 2003 at 7:53 pm
  • Could we disable these error links by default? As people are slowly migrating to 4.3, it is becoming very clear that all sorts of people are getting confused about these. Especially when a spam web ...
    Rasmus LerdorfRasmus Lerdorf
    Mar 13, 2003 at 9:09 am
    Mar 13, 2003 at 6:10 pm
  • Well, yes, but we have == and === for other situations, so some sort of analogue for use in switches would be nice (I've been bitten by this one more than once myself!). I'd love to see, say, ...
    Ford, Mike [LSS]Ford, Mike [LSS]
    Mar 25, 2003 at 11:21 am
    Mar 27, 2003 at 9:33 am
  • I'm curious as to what the status is of the fixed apache2handler stuff that was discussed regarding whether or not to include it in the 4.3 tree. I was under the impression that despite some ...
    Mike RobinsonMike Robinson
    Mar 14, 2003 at 6:59 pm
    Mar 20, 2003 at 7:45 am
  • Hello, My idea is to add an extra field to the zend_module_entry struct to enable extension writers to specify additional function entries (eg. class methods entries). That will enable ...
    Tal PeerTal Peer
    Mar 17, 2003 at 7:10 pm
    Mar 18, 2003 at 2:30 pm
  • I hope that this is an appropriate place to post a feature request! I posted a message on the Zend.com "into the future" forum about having a function that would return the full path to a file ...
    Kelvin JonesKelvin Jones
    Mar 13, 2003 at 4:24 pm
    Mar 17, 2003 at 9:34 am
  • Building PHP with bison versions up to 1.75 works fine, but both bison 1.875 and 1.875a cause a segfault during the startup of PHP. Backtrace: Program received signal SIGSEGV, Segmentation fault. ...
    Sebastian BergmannSebastian Bergmann
    Mar 28, 2003 at 7:54 am
    Mar 28, 2003 at 2:53 pm
  • http://bugs.php.net/bug.php?id=20836 Can someone give me sufficient karma to commit the missing documentation or simply apply the patch? - Timm
    Timm FriebeTimm Friebe
    Mar 22, 2003 at 3:36 pm
    Mar 26, 2003 at 12:59 pm
  • The attached patch contains a couple of changes to win32 project file for the gettext extension. Added defines to enable plural gettext functions on win32. These functions exist in the current ...
    Nathan FredricksonNathan Fredrickson
    Mar 15, 2003 at 7:56 pm
    Mar 24, 2003 at 9:00 pm
  • Hi, Since we're all working on php5-dev now, i think its time to update the apache module name of php to php5_module or php_module (I'm for the latter). I'll go ahead and do this tommorow unless ...
    Sterling HughesSterling Hughes
    Mar 23, 2003 at 12:29 am
    Mar 23, 2003 at 3:05 pm
  • Hi all I have changed the default ini value for html_errors to 0. I think default ini settings should work for production boxes and noone should have html_errors=On for those. The second thing i ...
    Marcus BörgerMarcus Börger
    Mar 16, 2003 at 10:35 pm
    Mar 19, 2003 at 10:38 pm
  • Today I tried to run PHP-GTK with ZE2 changes against current CVS and it segfaulted. I traced it to the fact that PG(http_globals)[TRACK_SERVER_VARS] is no longer available if $_SERVER is not present ...
    Andrei ZmievskiAndrei Zmievski
    Mar 17, 2003 at 9:51 pm
    Mar 18, 2003 at 2:06 pm
  • Since more and more people running into problems with bison, we should change configure to check for versions 1.28, 1.35 and 1.75. Or does anybody know about any additional version working or any of ...
    Marcus BörgerMarcus Börger
    Mar 28, 2003 at 8:51 pm
    Mar 29, 2003 at 3:46 pm
  • Running the following code: class Foo { var $bar_ref; } class Bar { var $foo_ref; } $foo = new Foo(); $bar = new Bar(); $foo- bar_ref = $bar; $bar- foo_ref = $foo; var_dump($foo); var_dump($bar); $s ...
    Jan SchneiderJan Schneider
    Mar 25, 2003 at 2:13 pm
    Mar 29, 2003 at 11:11 am
  • Hi, just digged through some user comments in the manual which are sorted date ascending, i.e. oldest posts (from 1999 or 2000) are first. Wouldn't it be better to sort date descending? There are ...
    Björn SchotteBjörn Schotte
    Mar 25, 2003 at 9:01 am
    Mar 26, 2003 at 11:47 am
  • Current HEAD: die("line: " . __LINE__) works as expected, but die(__LINE__) doesn't output anything. Jan. -- http://www.horde.org - The Horde Project http://www.ammma.de - discover your knowledge ...
    Jan SchneiderJan Schneider
    Mar 25, 2003 at 12:56 pm
    Mar 25, 2003 at 2:13 pm
  • Hello, all. Attached patch provides cyrillic character sets support to htmlentities(), useful for those who wants to see correct cyrillic letters after using this function (at this moment ...
    Antony DovgalAntony Dovgal
    Mar 21, 2003 at 10:41 am
    Mar 24, 2003 at 7:50 pm
  • Could you please also add a standard Throwable interface and make Exception implement it? Thank you, Sebastian -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help ...
    Sebastian BergmannSebastian Bergmann
    Mar 23, 2003 at 6:54 am
    Mar 23, 2003 at 3:13 pm
  • I asked joe to ask for commit privs as he's the redhat guy doing PHP work, and has useful stuff to commit. -- james
    James CoxJames Cox
    Mar 13, 2003 at 3:19 pm
    Mar 14, 2003 at 12:43 am
  • Hi, I've created a patch for the modification I've made to the OpenSSL extension. The patch modifies the openssl_sign() function to accept a fourth parameter, which specifies the hashing algorithm to ...
    ScottScott
    Mar 30, 2003 at 9:36 pm
    Mar 30, 2003 at 10:30 pm
  • Hi, back on reentrancy.... I know that with some of the libraries the extensions depend on are not reentrant (ie. also not thread safe). The imap library cclient comes to mind (unless something has ...
    David Hill \(php.net\)David Hill \(php.net\)
    Mar 27, 2003 at 4:45 pm
    Mar 27, 2003 at 6:15 pm
  • Hi all, It would seem that Tru64 is pickier about the TZ setting than the rest of the known universe. According to our local TZ expert (who can quote chapter and verse from the UNIX 98 standard) a TZ ...
    David Hill \(php.net\)David Hill \(php.net\)
    Mar 24, 2003 at 6:56 pm
    Mar 24, 2003 at 9:56 pm
  • Hi all, I have found some problems (and possible solutions) concerning use of the gettext extension on multithreaded servers. Usually gettext determines the locale to use for translations from one of ...
    Nathan FredricksonNathan Fredrickson
    Mar 21, 2003 at 5:28 pm
    Mar 24, 2003 at 7:11 pm
  • <snip Compiling resources... Compiling... php_cli.c Linking... php_cli.obj : error LNK2001: unresolved external symbol _zend_is_auto_global ..\Release_TS_inline\cli\php.exe : fatal error LNK1120: 1 ...
    Moriyoshi KoizumiMoriyoshi Koizumi
    Mar 22, 2003 at 11:06 pm
    Mar 22, 2003 at 11:21 pm
  • I'm not sure what to do with these, but it annoys me that there are directives which don't even appear in php.ini-dist which can actually affect how PHP works. Here's some I've found, but I'm not ...
    Joey SmithJoey Smith
    Mar 22, 2003 at 5:26 pm
    Mar 22, 2003 at 7:34 pm
  • In addition to the gdFreeFontCache segfault I sent yesterday, here is an imagettfbbox() crash. I am starting to wonder if we have a basic incompatibility with the current freetype lib. This is ...
    Rasmus LerdorfRasmus Lerdorf
    Mar 30, 2003 at 6:19 pm
    Mar 30, 2003 at 9:32 pm
  • Hi, we are building PHP with the --with-config-file-path compile setting to get our php.ini file from our own location. Now, in some scenarios we need to run PHP with the -c command line option to ...
    Mark StriebeckMark Striebeck
    Mar 28, 2003 at 6:16 am
    Mar 30, 2003 at 1:44 am
  • Hello, I encountered a weird bug that I cant quite figure out. It has to do with the extended-info mode (-m) of PHP. problem: the opcodes generated in extended-info mode are incorrect testscript: ...
    Derick RethansDerick Rethans
    Mar 29, 2003 at 8:38 pm
    Mar 29, 2003 at 8:49 pm
  • It compiles now, but it crashes here on startup: php4ts_debug.dll!zend_register_functions() Line 1159 + 0xb C php4ts_debug.dll!zend_register_module() Line 1254 + 0x26 C ...
    Sebastian BergmannSebastian Bergmann
    Mar 25, 2003 at 12:09 pm
    Mar 25, 2003 at 2:55 pm
  • I was reminded tonight of the following 'feature' of switch: $a = 0; switch($a) { case 'somestring': echo 'Bug?'; break; case 0: echo 'Not a bug'; break; } This will echo 'Bug?' with PHP 4. It seems ...
    Joey SmithJoey Smith
    Mar 24, 2003 at 1:07 pm
    Mar 24, 2003 at 5:58 pm
  • Have a look at bug #17079 (http://bugs.php.net/17079). The fix is calling for another fix. Moriyoshi
    Moriyoshi KoizumiMoriyoshi Koizumi
    Mar 24, 2003 at 3:23 pm
    Mar 24, 2003 at 4:38 pm
  • <?php namespace Foo { class Bar { function boom() { echo "BOOM!\n"; } } import Bar; $b = new Bar; $b- boom(); ? The import parse error will cause a segfault. -Sterling -- "Programming today is a race ...
    Sterling HughesSterling Hughes
    Mar 23, 2003 at 5:06 pm
    Mar 23, 2003 at 6:14 pm
  • This code run in current code (HEAD): class Foo { var $arr = array(); } class FooX extends Foo { function bar() { var_dump($this- arr); } } $foo = new FooX(); $foo- bar(); produces "NULL" as the ...
    Jan SchneiderJan Schneider
    Mar 22, 2003 at 11:44 pm
    Mar 23, 2003 at 12:07 pm
  • -- ------------------------------------------------------------------------- Derick Rethans http://derickrethans.nl/ JDI Media Solutions http://www.jdimedia.nl/ PHP Magazine - PHP Magazine for ...
    Derick RethansDerick Rethans
    Mar 13, 2003 at 8:49 am
    Mar 22, 2003 at 5:17 pm
  • Hi, Some users of our program SPIP are stumbling onto the following bug : http://bugs.php.net/bug.php?id=15797 See my comment at the end. It seems several PHP versions are plagued by this problem. ...
    AntoineAntoine
    Mar 21, 2003 at 4:09 pm
    Mar 21, 2003 at 6:59 pm
Group Navigation
period‹ top | Mar 2003 | next ›
Group Overview
groupphp-internals @
categoriesphp
discussions116
posts556
users99
websitephp.net

99 users for March 2003

Andrei Zmievski: 37 posts Andi Gutmans: 35 posts Marcus Börger: 34 posts Sterling Hughes: 28 posts Derick Rethans: 23 posts Moriyoshi Koizumi: 23 posts Sebastian Bergmann: 20 posts Wez Furlong: 20 posts Zeev Suraski: 18 posts Rasmus Lerdorf: 15 posts Jani Taskinen: 13 posts Sascha Schumann: 13 posts Timm Friebe: 13 posts George Schlossnagle: 12 posts Stanislav Malyshev: 12 posts Shane Caraveo: 11 posts James Cox: 9 posts Jan Schneider: 9 posts Manuel Lemos: 9 posts Antony Dovgal: 8 posts
show more
Archives