Re: [PHP-DEV] php-initialized

2008-09-16 Thread Jakub Vrana
> Looks great! Have been wanting similar behaviour in the lint > function for a while. Just the question is how exhaustive is its > checking. ( Any checking beyond current is pretty good, no > complaints there, but just trying to see how useful it is ). > Brief summary of the sort of situations

[PHP-DEV] Undefined property notice

2007-08-20 Thread Jakub Vrana
y $o->b = $o->b + 5 issues the notice but $o->c += 5 not. Shouldn't be the notice issued also with $o->c += 5? It is clearly usage of an undefined property. Jakub Vrana -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: Minor engine patch to facilitate PECL/operator

2006-02-17 Thread Jakub Vrana
. Array comparison is due this logic also strange: $a = array(0, 1); $b = array(1 => 0, 0 => 1); var_dump($a < $b); // true var_dump($a > $b); // true $a is both less than and greater than $b. Jakub Vrana -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: PDM Meeting Notes

2005-11-23 Thread Jakub Vrana
t what's with other usages? Gain from this change is really minimal but cause that some code working in PHP 4 will not work in PHP 6 without ugly hacks. Jakub Vrana -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] date() behaviour changed in 5.1?

2005-11-16 Thread Jakub Vrana
#x27;s harder to explain why PHP doesn't inform you about wrong parameters (as in strpos("abc", array())) than to explain the difference of strict and non-strict casting. Jakub Vrana -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] date() behaviour changed in 5.1?

2005-11-16 Thread Jakub Vrana
parse_parameters() - my script checking if parameters in source and documentation match uses it. Jakub Vrana -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] E_NOTICE should warn of uninitialized arrays

2005-11-01 Thread Jakub Vrana
s and IMHO the programmer should be warned of it. There is a bug regarding this topic marked as bogus by Iliia: http://bugs.php.net/bug.php?id=28151 Is current behavior really expected and wanted? Jakub Vrana -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://w

[PHP-DEV] Re: "mixed up PHP" variant (Re: [PHP-DEV] named parameters?)

2005-04-19 Thread Jakub Vrana
et-accepted patches. It's not so comfortable as RYL version but can serve for the same demand. Jakub Vrana -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] [patch] highlight_[file|string] and line numbers

2005-03-14 Thread Jakub Vrana
closing tags so they may leave open). Jakub Vrana -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Fix for man page (bug #30727)

2004-11-09 Thread Jakub Vrana
Hello! This is trivial patch for `man php` fixing bug #30727. Can somebody with sufficient karma please commit it? Jakub VranaIndex: php.1.in === RCS file: /repository/php-src/sapi/cli/php.1.in,v retrieving revision 1.7 diff -u -r1.7

Re: [PHP-DEV] Document call_time_pass_reference

2004-08-05 Thread Jakub Vrana
7;s explicit intention in not > declaring a parameter by reference. Thanks for thorough explanation. I already thought about it, came to the same conclusion and documented it. Jakub Vrana -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Document call_time_pass_reference

2004-08-04 Thread Jakub Vrana
hy this is better (except from a cleanliness reason) I can't tell > you. This is what I need to know :-). In php.ini-recommended there is only [Code cleanliness] reason. Jakub Vrana -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Document call_time_pass_reference

2004-08-04 Thread Jakub Vrana
Hello! I want to document, why call_time_pass_reference was deprecated by establishing allow_call_time_pass_reference. I assume code cleanliness or performance reasons but I want to document official reason. Jakub Vrana -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe

[PHP-DEV] [PATCH] error_message in php_check_syntax should be passed by reference only

2004-08-03 Thread Jakub Vrana
Second parameter to php_check_syntax should be passed by reference only. Jakub Vrana=== RCS file: /repository/php-src/ext/standard/basic_functions.c,v retrieving revision 1.679 diff -u -r1.679 basic_functions.c --- basic_functions.c

Re: [PHP-DEV] Spammer on Bugs page

2004-07-29 Thread Jakub Vrana
IP spoofing is useless in this case, only network listening can be used and it's not so easy. + Limiting the number of bug report per IP of course. Jakub Vrana -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: Bugreports - is it worth it? (or: glob() disclosing file names with open_basedir and safe_mode-restriction)

2004-07-26 Thread Jakub Vrana
filenames but she can't use it for anything. We use it on my company's hosting and I believe it's secure enough. P.S. I'm on your side with securing glob() but it will not solve all security risks with session files stored in common directory. Jakub Vrana -- PHP Interna

Re: [PHP-DEV] [PATCH] two small typos in php.ini.* and mail.c

2004-07-26 Thread Jakub Vrana
> This should probably be applied but what if people are using them already? > Any idea when these were introduced? It was introduced early in PHP 5. Jakub Vrana -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Spammer on Bugs page

2004-07-21 Thread Jakub Vrana
Olivier Hill wrote: > Perhaps limiting the number of bug report by IP per day and/or limiting > the number of bugs with the same words should be implemented. I agree. No one likes "Write here the text from image". Jakub Vrana -- PHP Internals - PHP Runtime Development

Re: [PHP-DEV] Case sensitivity of require_once

2004-07-19 Thread Jakub Vrana
Wez Furlong wrote: > Did you test require_once under PHP 5 yet? > (without your patch) This behavior is PHP 4 specific. Antony Dovgal wrote: > http://lists.php.net/php.doc/969361918 The problem is not that the file isn't included at all. The problem is that the file is included

[PHP-DEV] Case sensitivity of require_once

2004-07-19 Thread Jakub Vrana
D_REQUIRE) TSRMLS_CC); zend_destroy_file_handle(&file_handle TSRMLS_CC); -- Jakub Vrana -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: PHP and Apache2

2004-06-16 Thread Jakub Vrana
Lester Caine wrote: > The only difficulty is > " Do not use Apache 2.0 and PHP in a production environment neither on > Unix nor on Windows." > in the manual tells my customers that I should not be! There is also good Rasmus' explanation at http://bugs.php.net/bu

Re: [PHP-DEV] CLI manpage

2003-12-23 Thread Jakub Vrana
> Thanks for the patch. Please check out the latest CVS and see if it's OK. Perfect. Thanks for commit. Jakub Vrana -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Syntax highlight

2003-12-22 Thread Jakub Vrana
highlighted in constant strings (i.e. strings without variables). To behave the same in both cases and to not confuse someone by highlighting characters without special meaning, I am sending this patch. Jakub Vrana Index: zend_highlight.c

[PHP-DEV] CLI manpage

2003-12-20 Thread Jakub Vrana
I am sending a patch with some corrections to PHP man-page. Jakub Vrana Index: php.1.in === RCS file: /repository/php-src/sapi/cli/php.1.in,v retrieving revision 1.4 diff -u -r1.4 php.1.in --- php.1.in10 Jun 2003 20:03:45 -

[PHP-DEV] CVS Account Request: vrana

2003-12-01 Thread Jakub Vrana
Maintaining Czech documentation. If I will find mistake in English documentation, I can send a patch to someone else. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php