10.07.2017, 19:52
His other reply touched PHP.
Whether PHP strcmp function has the same issue that SAMP's strcmp has (the one you mentioned)
In terms of PHP, strcmp will return 0 (match)
(tested it before I replied)
EDIT:
Must also note that
Quote:
|
I know but i talk about php strcmp if i compare empty string with non empty it return that it matches or no? is there same bug as in samp strcmp ?
|
In terms of PHP, strcmp will return 0 (match)
(tested it before I replied)
EDIT:
Must also note that
PHP код:
echo strcmp("","bug"); // -3
PHP код:
echo strcmp("bug",""); // 3

