FAQ

Search Discussions

90 discussions - 558 posts

  • Hi @ll, Now that 5.0.3 is out, maybe it's time to bring back that old problem left in May: type hints and null default values. This feature was dropped since no one could come with a reasonable ...
    Cristiano DuarteCristiano Duarte
    Oct 16, 2004 at 7:13 pm
    Feb 7, 2005 at 8:40 pm
  • I am wondering what are people's opinions on adding support for negative string offsets that could be used to access data from the end of a string. Ex. $a = "123"; echo $a[-1]; // would print 3 I ...
    Ilia AlshanetskyIlia Alshanetsky
    Oct 29, 2004 at 7:18 pm
    Nov 1, 2004 at 7:08 pm
  • FYI, attached is a highly edited (for brevity) series of responses to the SQLite mailing list, to a query about SQLite3 being included in PHP 5. My reply is first. D. Richard Hipp is the author of ...
    Derrell LipmanDerrell Lipman
    Oct 20, 2004 at 2:02 am
    Oct 30, 2004 at 8:49 pm
  • Is this legitimate? I took a (very) quick look at bugs, and didn't see it. (deleted the note) S -------- Original Message -------- Subject: [PHP-NOTES] note 46955 added to function.curl-init Date: ...
    Sean CoatesSean Coates
    Oct 28, 2004 at 4:08 pm
    Oct 31, 2004 at 9:51 pm
  • Hello Everyone, I just discovered a small thing in the switch() statement. The position of the default: clause has to be at the end of the code: $a = 1; switch ($a) { default : case 0 : $b = 1; ...
    Frank M. KromannFrank M. Kromann
    Oct 8, 2004 at 3:29 am
    Oct 8, 2004 at 8:15 pm
  • It possible to add this patch or something along these lines so that file:/// syntax can be used under windows again? A change on 8/31 was made to allow for file:// but now prevents file:/// (which ...
    Rob RichardsRob Richards
    Oct 26, 2004 at 5:34 pm
    Oct 27, 2004 at 6:45 pm
  • You might want to ask this on the internals list (cc'd) Tomas Kuliavas wrote:
    M. SokolewiczM. Sokolewicz
    Oct 4, 2004 at 10:50 am
    Oct 6, 2004 at 9:44 pm
  • I ran the Zend/bench.php script with PHP 5.0 and PHP 5.1 compiled with GCC 3.3 and GCC 3.4 using different optimizations on my Intel Pentium-M laptop: HEAD (PHP 5.1.0-dev) GCC 3.3.4 (-march=pentium3) ...
    Sebastian BergmannSebastian Bergmann
    Oct 4, 2004 at 6:31 pm
    Oct 5, 2004 at 6:08 am
  • There are serious problems from enabling LFS support like this in a project like PHP. If I have some library which uses off_t in its API, e.g. zlib, and I happened to not compile it with LFS support, ...
    Joe OrtonJoe Orton
    Oct 22, 2004 at 6:22 am
    Oct 22, 2004 at 11:00 pm
  • Hi All, I need two cli switches to handle some special cases to NetWare specific php invocation. In linux and windows where shell and command prompt far live the php interpreter invoked from them. ...
    Kamesh JayachandranKamesh Jayachandran
    Oct 26, 2004 at 1:19 pm
    Oct 27, 2004 at 5:52 am
  • Hi, the attached script produces: Fatal error: Can't inherit abstract function Drawable::draw() (previously declared abstract in Figure) in /usr/home/thekid/r.php on line 12 which is wrong because I ...
    Timm FriebeTimm Friebe
    Oct 9, 2004 at 1:31 pm
    Oct 14, 2004 at 12:16 am
  • I think it would be a good idea to apply the idea of infinite parameters that's been used with isset(), so one can test multiple variables: if (empty($var1, $var2, $var3)) echo "data missing"; I hope ...
    Ron KorvingRon Korving
    Oct 20, 2004 at 11:04 am
    Oct 21, 2004 at 3:32 pm
  • This code: <?php class TestClass { public $myself; function __construct () { $this- myself = $this; } } $TestObj = new TestClass (); if ( $TestObj- myself == $TestObj ) { echo "They are same.\n"; } ? ...
    Francisco M. Marzoa AlonsoFrancisco M. Marzoa Alonso
    Oct 18, 2004 at 3:36 pm
    Oct 20, 2004 at 5:58 pm
  • Hello, I just notices that localeconv is not working properly (at least in PHP 5.0.2 and 4.3.9), it does not return the correct thousands_sep and decimal_point (See my mail at php-general). Now I ...
    Klaus ReimerKlaus Reimer
    Oct 30, 2004 at 12:46 pm
    Nov 3, 2004 at 11:48 pm
  • hi, this patch against php-5.0.2 adds a stream_socket_create_pair() function. it's nearly identical to socket_create_pair() except it returns streams instead of socket resources. i'm currently ...
    SixSix
    Oct 13, 2004 at 12:25 am
    Oct 13, 2004 at 6:18 pm
  • Hi internals: I made an addition to Apache 1.3.x SAPI; and I would like you to take a look at it, so you can evaluate if it has a chance to go official. Basically, the new feature lets Apache users ...
    Manuel Vázquez AcostaManuel Vázquez Acosta
    Oct 7, 2004 at 1:46 am
    Oct 8, 2004 at 3:22 pm
  • How can you find out definitively if a method of a PHP class has been called statically, in both PHP 4 and 5? I'm aware of the way that $this behaves - this is not that old FAQ, but it's at the root ...
    Marcus BointonMarcus Bointon
    Oct 4, 2004 at 12:01 pm
    Oct 5, 2004 at 6:52 pm
  • As of PHP 5.1, the request start time is stored by PHP inside the sapi structure. This data is populated by the information offered by the SAPI (Apache sapis populate it) otherwise time(0) is used to ...
    Ilia AlshanetskyIlia Alshanetsky
    Oct 22, 2004 at 8:43 pm
    Oct 23, 2004 at 2:10 am
  • I looked through the bug database and the archive of this mailing list but couldn't find any reference to HTTP Response Splitting. I apoligize if this has been discussed before :-) Basically it means ...
    Christian SchneiderChristian Schneider
    Oct 11, 2004 at 10:00 am
    Oct 12, 2004 at 7:04 am
  • Hi, Attached is a patch to optimize variable fetches (basically it caches the fetches so that variables aren't re-fetched every time, most noticeable in loops with the loop control counter but also ...
    Andi GutmansAndi Gutmans
    Oct 1, 2004 at 4:31 pm
    Oct 6, 2004 at 10:28 pm
  • Hey, I'd like to commit the realpath() patch I sent to the list for review a week or so ago. Unless there are any objections I'll commit it (to HEAD) in 1-2 days. This will give it some more exposure ...
    Andi GutmansAndi Gutmans
    Oct 1, 2004 at 5:58 am
    Oct 2, 2004 at 1:16 am
  • If anybody cares, here is fix for this bug under 4.3.9: http://leya.mindnever.org/~mr_w/php-popen.patch.gz PS, didn't have time to look at PHP 5 yet, but I suppose this fix could work also with minor ...
    Vladimir ZidarVladimir Zidar
    Oct 21, 2004 at 7:13 pm
    Oct 29, 2004 at 12:39 am
  • Just noticed that I still have a pending commit: Can someone more familiar with the load order figure out what happened to break this? The problem is that when you dl(), PHP segfaults during shutdown ...
    Wez FurlongWez Furlong
    Oct 26, 2004 at 10:13 pm
    Oct 26, 2004 at 11:22 pm
  • This patch allows php extension authors to declare constants on internal objects. This pretty much just duplicates the zend_declare_property_* functions but for constants. Currently there is no way ...
    Robert SilvaRobert Silva
    Oct 12, 2004 at 6:54 am
    Oct 15, 2004 at 7:02 am
  • Forgive me if this sounds like a newbie type question, but hopefully someone has some advice for me. I am wanting to distribute an extension I wrote for PHP and was wondering what the best way to ...
    Jeremy JohnstoneJeremy Johnstone
    Oct 12, 2004 at 7:53 pm
    Oct 12, 2004 at 11:33 pm
  • Hi, What is the PHP policy regaring crashes and fatal errors? Are scripts allowed to cause a crash or fatal error of Apache/PHP itself?
    Olaf van der SpekOlaf van der Spek
    Oct 3, 2004 at 9:25 am
    Oct 4, 2004 at 10:03 am
  • Hi All, I have identified a defect in openssl extension code. Even though it is not critical and not likely to happen. Let me explain the scenario. <?php $dn = array( "countryName" = "TestCountry", ...
    Kamesh JayachandranKamesh Jayachandran
    Oct 25, 2004 at 3:40 pm
    Oct 26, 2004 at 10:13 am
  • Due to popular demand, attached is an example of how the new VM architecture would be without the macro magic. Basically, the zend_vm_gen.php script auto-generates the chosen VM architecture ...
    Andi GutmansAndi Gutmans
    Oct 12, 2004 at 12:43 am
    Oct 21, 2004 at 7:23 am
  • 5

    CVS

    Hello Folks, I just shutdown the CVS server because there are still no diffs being send out. This means that there is no control over who commits what anymore resulting in the probability of bad code ...
    Derick RethansDerick Rethans
    Oct 16, 2004 at 12:30 pm
    Oct 16, 2004 at 10:56 pm
  • Quick patch to add a function openssl_csr_subject() that allows you to see the subject of a CSR. Uses the same CSR handling routines as openssl_csr_sign() etc, so it can take a string in PEM format, ...
    Greg MacLellanGreg MacLellan
    Oct 8, 2004 at 7:59 pm
    Oct 12, 2004 at 8:33 pm
  • I've put together a rough implementation of static constructors. I'd like to get peoples thoughts about it then I'll either clean it up and submit it or nuke it. Basically the class constructor ...
    Robert SilvaRobert Silva
    Oct 5, 2004 at 11:36 pm
    Oct 6, 2004 at 11:52 am
  • I've been trying to build PHP-GTK on OSX and ran into something. The GNU libtool can create shared libraries both with .so and .dylib extensions, depending on whether they are compiled as modules or ...
    Andrei ZmievskiAndrei Zmievski
    Oct 29, 2004 at 9:57 pm
    Nov 7, 2004 at 9:10 pm
  • Hi! I tried to get answer on the general list, but I didn't get. I have a little example, which generate strange output. $a = 0; $b = 1; if ($a = 1 && $b = 0) { echo 'true '; var_dump($a); ...
    Hodicska GergelyHodicska Gergely
    Oct 30, 2004 at 6:45 pm
    Oct 30, 2004 at 7:17 pm
  • Hello, i have small proposal (maybe, it was already discussed here?) - about ignoring shell invocation lines at the beginning of source file, kind of #!/usr/local/bin/php reason is simple - CGI ...
    Val khokhlovVal khokhlov
    Oct 7, 2004 at 4:02 pm
    Oct 9, 2004 at 1:55 pm
  • Hello internals, this patch allows to access class constants by objects. If noone objects i'll commit it on tuesday. Example: class Test { const Foo = 'Bar'; } $obj = new Test; var_dump($obj::Foo); ...
    Marcus BoergerMarcus Boerger
    Oct 3, 2004 at 5:25 pm
    Oct 6, 2004 at 3:28 am
  • Hi, I have cooked a small patch which allows is_subclass_of() the accept not only an object as first parameter but a string as well. When string is passed the function checks whether the class ...
    Andrey HristovAndrey Hristov
    Oct 24, 2004 at 1:09 pm
    Oct 26, 2004 at 11:25 pm
  • PHP 5 Bug Database summary - http://bugs.php.net Num Status Summary (414 total including feature requests) ===============================================[*Compile Issues]============== 28103 Open ...
    InternalsInternals
    Oct 4, 2004 at 7:31 am
    Oct 25, 2004 at 7:32 am
  • PHP 4 Bug Database summary - http://bugs.php.net Num Status Summary (822 total including feature requests) ===============================================[*Configuration Issues]======== 29208 Open ...
    InternalsInternals
    Oct 4, 2004 at 7:00 am
    Oct 25, 2004 at 7:00 am
  • Hi All, I could see php_output_activate(TSRMLS_C) getting called from php_module_startup immedeately after php_output_startup. Why is this needed? As each SAPI modules call ...
    Kamesh JayachandranKamesh Jayachandran
    Oct 8, 2004 at 6:10 am
    Oct 18, 2004 at 7:05 pm
  • Hi php developper, I want to know why you can't use php keywords as class names. It seems to me it's not a necessary constraint, but I may be wrong as I never looked at php's sourcecode. Thanks for ...
    Pfenniger JonasPfenniger Jonas
    Oct 17, 2004 at 9:11 am
    Oct 17, 2004 at 4:22 pm
  • The problem is that set_exception_handler allows you to reset the handler by passing an empty string as argument. It did not check to make sure it was a string before checking strlen, therefore when ...
    Robert SilvaRobert Silva
    Oct 12, 2004 at 6:43 am
    Oct 14, 2004 at 12:25 pm
  • It seems that everytime I commit to Zend CVS the commit message isn't sent out. For other's it works. It might be due to the warnings I'm getting. Does anyone have an idea what the problem could be? ...
    Andi GutmansAndi Gutmans
    Oct 13, 2004 at 1:06 am
    Oct 13, 2004 at 8:02 am
  • Hello, Here is a small patch to Zend taht will allow the current version of pecl/bcompiler to compile with PHP and ZendEngine2. http://kromann.info/Zend.patch Would it be possible for someone with ...
    Frank M. KromannFrank M. Kromann
    Oct 11, 2004 at 7:39 pm
    Oct 11, 2004 at 10:47 pm
  • Hello Everyone, I'm having a problem with flex and zend on my new system: flex -Pzend -S/usr/local/src/php5/Zend/flex.skl -oZend/zend_language_scanner.c -i ...
    Frank M. KromannFrank M. Kromann
    Oct 6, 2004 at 5:37 am
    Oct 7, 2004 at 7:17 am
  • Hi, perhaps I'm just missing something, the docs don't really mention anything about that issue... Shouldn't iconv decode HTTP input from "input_encoding" to "internal_encoding", and if not, then ...
    Michael WallnerMichael Wallner
    Oct 5, 2004 at 4:23 pm
    Oct 6, 2004 at 1:51 am
  • I saw this behavior this morning and was curious if I'd tripped a bug in PHP (running version 4.3.7 at the moment). I scanned through the bug list for this particular bug but didn't find it. I'm ...
    Bob GlammBob Glamm
    Oct 4, 2004 at 2:39 pm
    Oct 4, 2004 at 2:55 pm
  • what are the chances that soap extension will have the (optional) ability to return output from SoapServer::handle instead of echo`ing it with http headers? current version makes it impossible to ...
    Robert JaneczekRobert Janeczek
    Oct 3, 2004 at 9:23 am
    Oct 4, 2004 at 7:46 am
  • Hi, Is it possible to convert an array in an object instance? I can convert an object in an array as follows: $Test = new MyClass (); $TestArray = (array) $Test; Then I've an array with all members ...
    Francisco M. Marzoa AlonsoFrancisco M. Marzoa Alonso
    Oct 25, 2004 at 11:30 am
    Oct 26, 2004 at 7:10 am
  • Hi, I'm trying to wrote my own serialization routines and I've found a previsible problem: protected members are not visible to my serialization routine. This is ok and it should be as is, but I've ...
    Francisco M. Marzoa AlonsoFrancisco M. Marzoa Alonso
    Oct 22, 2004 at 1:05 pm
    Oct 22, 2004 at 2:08 pm
  • Going through the PHP 5 Bug Summary Report looking for stuff I may be able to help out with and finding a lot of them that are fixed in current cvs but are still marked as open. I'm curious when you ...
    Robert SilvaRobert Silva
    Oct 13, 2004 at 12:25 am
    Oct 13, 2004 at 7:29 am
Group Navigation
period‹ prev | Oct 2004 | next ›
Group Overview
groupphp-internals @
categoriesphp
discussions90
posts558
users115
websitephp.net

115 users for October 2004

Andi Gutmans: 67 posts Derick Rethans: 45 posts Wez Furlong: 38 posts Marcus Boerger: 25 posts Robert Silva: 23 posts Kamesh Jayachandran: 14 posts Christian Schneider: 12 posts Joe Orton: 12 posts Sebastian Bergmann: 12 posts Cristiano Duarte: 10 posts Ilia Alshanetsky: 10 posts Rasmus Lerdorf: 10 posts Sascha Schumann: 10 posts Frank M. Kromann: 9 posts Ron Korving: 9 posts Internals: 8 posts Greg Beaver: 8 posts Andrey Hristov: 7 posts Rob Richards: 7 posts Sara Golemon: 7 posts
show more
Archives