ID: 11918
User Update by: [EMAIL PROTECTED]
Status: Open
Bug Type: Scripting Engine problem
Operating system: win2k
PHP Version: 4.0.6
Description: d'oh
and
1) $pos is not === FALSE
2) the vars $pos, $string and $accessKey are not used anyhow else or anywhere else in
that scope (method), an
From: [EMAIL PROTECTED]
Operating system: win2k
PHP version: 4.0.6
PHP Bug Type: Scripting Engine problem
Bug description: d'oh
hi.
first of all, i'm not able to reproduce that. sorry. it only occures in the context of
my scripts.
occures in 4.0.5 also.
---cut---
$pos =
ID: 10309
User Update by: [EMAIL PROTECTED]
Status: Closed
Bug Type: Feature/Change Request
Operating system: all
PHP Version: 4.0.4
Description: feature request
no, gives a syntax error also.
PHP Version 4.0.7-dev (and 4.0.5)
Previous Comments:
ID: 10967
User Update by: [EMAIL PROTECTED]
Status: Open
Bug Type: Scripting Engine problem
Operating system: win2k
PHP Version: 4.0.5
Description: $x .= &someFunction();
uhm, well, the thing with the $temp var is useless. i see now that i cannot reference
something into *a part* of something el
From: [EMAIL PROTECTED]
Operating system: win2k
PHP version: 4.0.5
PHP Bug Type: Scripting Engine problem
Bug description: $x .= &someFunction();
code i would like to use:
---cut---
function &someShit() {
return 'foo';
}
$out = '';
for ($i = 1; $i <= 3; $i++) {
$out .=
From: [EMAIL PROTECTED]
Operating system: win2k
PHP version: 4.0.5
PHP Bug Type: Feature/Change Request
Bug description: ((true) && (true)) to return bool
(true)
returns a bool while
((true) && (true))
returns an int.
so
(((true) && (true)) == true)
"works" while
(((true
From: [EMAIL PROTECTED]
Operating system: all
PHP version: 4.0.4
PHP Bug Type: Feature/Change Request
Bug description: extract() to work with objects
example:
class foo {
function foo() {
$var_array = array('hello'=>'world');
extract($var_array, EXTR_PREFIX_ALL, "
From: [EMAIL PROTECTED]
Operating system: all
PHP version: 4.0.4
PHP Bug Type: Feature/Change Request
Bug description: someFunction() OR break;
why is the syntax
someFunction() OR anotherFunction();
only possible with a function on the right side of the OR? cause it has to r
From: [EMAIL PROTECTED]
Operating system: all
PHP version: 4.0.4
PHP Bug Type: Feature/Change Request
Bug description: feature request
$a = 'foo';
$b = 'bar';
$c = (true) ? &$a : &$b;
=> syntax error, have to do
if (true) {
$c = &$a;
} else {
$c = &$b;
}
would be nic
ID: 9748
User Update by: [EMAIL PROTECTED]
Old-Status: Feedback
Status: Open
Bug Type: *Directory/Filesystem functions
Description: wrong behavior of is_dir() and is_file() on a dir-link
yes
Previous Comments:
---
[2001-03-
From: [EMAIL PROTECTED]
Operating system: winnt 4.0
PHP version: 4.0.4
PHP Bug Type: Filesystem function related
Bug description: dirname()
echo dirname("c:/fuck/abc/");
prints out c:/fuck
--
Edit Bug report at: http://bugs.php.net/?id=9783&edit=1
--
PHP Development
From: [EMAIL PROTECTED]
Operating system: winnt 4.0
PHP version: 4.0.4
PHP Bug Type: Directory function related
Bug description: realpath doesn't return trailing slash
echo dirname(realpath("f:/dir 790/asdf/"));
this prints out "f:\dir 790"
and when you do dirname() on this
From: [EMAIL PROTECTED]
Operating system: all
PHP version: 4.0.4
PHP Bug Type: Feature/Change Request
Bug description: syntax request
such a syntax would be nice:
if (getColor() == ['green'|'blue']) {
if (someFunction() != [true&null]) {
if (xy() >= [$x&$y]) {
which means
From: [EMAIL PROTECTED]
Operating system: winnt 4.0
PHP version: 4.0.4
PHP Bug Type: *Directory/Filesystem functions
Bug description: wrong behavior of is_dir() and is_file() on a dir-link
on a directory link, is_dir() returns false while is_file() returns true.
i don't th
From: [EMAIL PROTECTED]
Operating system: winnt 4.0
PHP version: 4.0.4
PHP Bug Type: *Directory/Filesystem functions
Bug description: filename ends with £
this prints out 'crap' because is_dir() and is_file() return null instead of a boolean
if the filename ends with a £.
15 matches
Mail list logo