Bug #13276 Updated: Java methods are incorrectly set to lowercase

2002-04-06 Thread rodif_bl

 ID:   13276
 Updated by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
-Status:   No Feedback
+Status:   Bogus
 Bug Type: Java related
 Operating System: Solaris 2.7
 PHP Version:  4.0.6
 New Comment:

Because php is case insensitive this is the reason for this bug.. Can't
do anything about it unless php goes case sensitive.




Previous Comments:


[2002-04-07 00:00:02] [EMAIL PROTECTED]

No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".



[2002-02-24 06:13:09] [EMAIL PROTECTED]

Please test with  PHP 4.1.1+JDK 1.2 and report the result back 
Please do not forget  updating PHP version. Thanks.



[2001-09-12 19:40:27] [EMAIL PROTECTED]

Take the following code:

public class phptest{
  public static String testString = "look for ^ in this string";

public static void main(String[] args)
{
 System.out.println("Found ^ at: "+testString.indexOf('^'));
}
}

Which when run in Java produces this output:
Found ^ at: 9

Now, consider the following php code:
$testString->indexOf('^'));
?>

This *almost* works, and produces the following output:
X-Powered-By: PHP/4.0.6
Content-type: text/html


Warning:  java.lang.NoSuchMethodException: indexof in
phptest.php on line 5
Found ^ at: 0

As you can see, the indexof method has been lowercased from indexOf. 
This is a problem in the case sensitive environment of Java.




-- 
Edit this bug report at http://bugs.php.net/?id=13276&edit=1




Bug #13276 Updated: Java methods are incorrectly set to lowercase

2002-04-06 Thread php-bugs

 ID:   13276
 Updated by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
-Status:   Feedback
+Status:   No Feedback
 Bug Type: Java related
 Operating System: Solaris 2.7
 PHP Version:  4.0.6
 New Comment:

No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".


Previous Comments:


[2002-02-24 06:13:09] [EMAIL PROTECTED]

Please test with  PHP 4.1.1+JDK 1.2 and report the result back 
Please do not forget  updating PHP version. Thanks.



[2001-09-12 19:40:27] [EMAIL PROTECTED]

Take the following code:

public class phptest{
  public static String testString = "look for ^ in this string";

public static void main(String[] args)
{
 System.out.println("Found ^ at: "+testString.indexOf('^'));
}
}

Which when run in Java produces this output:
Found ^ at: 9

Now, consider the following php code:
$testString->indexOf('^'));
?>

This *almost* works, and produces the following output:
X-Powered-By: PHP/4.0.6
Content-type: text/html


Warning:  java.lang.NoSuchMethodException: indexof in
phptest.php on line 5
Found ^ at: 0

As you can see, the indexof method has been lowercased from indexOf. 
This is a problem in the case sensitive environment of Java.




-- 
Edit this bug report at http://bugs.php.net/?id=13276&edit=1




Bug #13276 Updated: Java methods are incorrectly set to lowercase

2002-02-24 Thread yohgaki

 ID:   13276
 Updated by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
-Status:   Open
+Status:   Feedback
 Bug Type: Java related
 Operating System: Solaris 2.7
 PHP Version:  4.0.6
 New Comment:

Please test with  PHP 4.1.1+JDK 1.2 and report the result back 
Please do not forget  updating PHP version. Thanks.


Previous Comments:


[2001-09-12 19:40:27] [EMAIL PROTECTED]

Take the following code:

public class phptest{
  public static String testString = "look for ^ in this string";

public static void main(String[] args)
{
 System.out.println("Found ^ at: "+testString.indexOf('^'));
}
}

Which when run in Java produces this output:
Found ^ at: 9

Now, consider the following php code:
$testString->indexOf('^'));
?>

This *almost* works, and produces the following output:
X-Powered-By: PHP/4.0.6
Content-type: text/html


Warning:  java.lang.NoSuchMethodException: indexof in
phptest.php on line 5
Found ^ at: 0

As you can see, the indexof method has been lowercased from indexOf. 
This is a problem in the case sensitive environment of Java.




-- 
Edit this bug report at http://bugs.php.net/?id=13276&edit=1