> 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
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
.
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
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
#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
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
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
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
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
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
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
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
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
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
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
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
> 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
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
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
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
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
> 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
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
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 -
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
25 matches
Mail list logo