Search Discussions
-
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 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 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 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 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. 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 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. 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 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 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 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 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 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 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 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 ...
Six
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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 ...
Internals
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 ...
Internals
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 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 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 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 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. 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. 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 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 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 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 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 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 Silva
Oct 13, 2004 at 12:25 am
Oct 13, 2004 at 7:29 am
Group Overview
group | php-internals |
categories | php |
discussions | 90 |
posts | 558 |
users | 115 |
website | php.net |
115 users for October 2004
Archives
- June 2016 (1)
- May 2016 (648)
- April 2016 (33)
- March 2016 (575)
- February 2016 (423)
- January 2016 (40)
- December 2015 (266)
- November 2015 (481)
- October 2015 (23)
- April 2015 (156)
- March 2015 (988)
- February 2015 (836)
- January 2015 (1,468)
- December 2014 (710)
- November 2014 (703)
- October 2014 (787)
- September 2014 (730)
- August 2014 (700)
- July 2014 (1,142)
- June 2014 (488)
- May 2014 (816)
- April 2014 (355)
- March 2014 (611)
- February 2014 (971)
- January 2014 (963)
- December 2013 (489)
- November 2013 (468)
- October 2013 (562)
- September 2013 (622)
- August 2013 (451)
- July 2013 (330)
- June 2013 (422)
- May 2013 (364)
- April 2013 (359)
- March 2013 (497)
- February 2013 (537)
- January 2013 (547)
- December 2012 (335)
- November 2012 (148)
- October 2012 (480)
- September 2012 (632)
- August 2012 (661)
- July 2012 (841)
- June 2012 (362)
- May 2012 (317)
- April 2012 (1,101)
- March 2012 (908)
- February 2012 (780)
- January 2012 (428)
- December 2011 (466)
- November 2011 (690)
- October 2011 (331)
- September 2011 (628)
- August 2011 (777)
- July 2011 (558)
- June 2011 (1,099)
- May 2011 (488)
- April 2011 (345)
- March 2011 (236)
- February 2011 (137)
- January 2011 (230)
- December 2010 (434)
- November 2010 (701)
- October 2010 (211)
- September 2010 (277)
- August 2010 (362)
- July 2010 (205)
- June 2010 (399)
- May 2010 (416)
- April 2010 (473)
- March 2010 (635)
- February 2010 (148)
- January 2010 (325)
- December 2009 (335)
- November 2009 (334)
- October 2009 (270)
- September 2009 (205)
- August 2009 (276)
- July 2009 (605)
- June 2009 (460)
- May 2009 (285)
- April 2009 (254)
- March 2009 (351)
- February 2009 (335)
- January 2009 (451)
- December 2008 (347)
- November 2008 (475)
- October 2008 (795)
- September 2008 (620)
- August 2008 (673)
- July 2008 (829)
- June 2008 (654)
- May 2008 (642)
- April 2008 (653)
- March 2008 (872)
- February 2008 (804)
- January 2008 (751)
- December 2007 (752)
- November 2007 (563)
- October 2007 (490)
- September 2007 (499)
- August 2007 (660)
- July 2007 (965)
- June 2007 (359)
- May 2007 (904)
- April 2007 (476)
- March 2007 (451)
- February 2007 (465)
- January 2007 (499)
- December 2006 (480)
- November 2006 (454)
- October 2006 (391)
- September 2006 (437)
- August 2006 (389)
- July 2006 (840)
- June 2006 (397)
- May 2006 (778)
- April 2006 (426)
- March 2006 (591)
- February 2006 (291)
- January 2006 (391)
- December 2005 (434)
- November 2005 (1,060)
- October 2005 (554)
- September 2005 (677)
- August 2005 (1,157)
- July 2005 (419)
- June 2005 (704)
- May 2005 (195)
- April 2005 (446)
- March 2005 (474)
- February 2005 (770)
- January 2005 (210)
- December 2004 (295)
- November 2004 (308)
- October 2004 (558)
- September 2004 (580)
- August 2004 (734)
- July 2004 (927)
- June 2004 (653)
- May 2004 (575)
- April 2004 (774)
- March 2004 (585)
- February 2004 (819)
- January 2004 (700)
- December 2003 (903)
- November 2003 (682)
- October 2003 (530)
- September 2003 (297)
- August 2003 (659)
- July 2003 (604)
- June 2003 (952)
- May 2003 (994)
- April 2003 (557)
- March 2003 (556)