PHP 4.0 Bug #5619: java-class call fails and prints a warning
| From: | cveld at bigfoot dot com | Date: | Sat, 15 Jul 2000 15:11:23 +0000 |
| Subject: | PHP 4.0 Bug #5619: java-class call fails and prints a warning | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-24631@lists.php.net to get a copy of this message | ||
From: cveld@bigfoot.com
Operating system: win32
PHP version: 4.0.1pl2
PHP Bug Type: Misbehaving function
Bug description: java-class call fails and prints a warning
Please add proper configuration-help to the php_java.dll distribution.
I use jdk 1.2.2 and jre 1.2.2.
I want to see the source of php_java.dll if I may.
How do I use user-defined java-classes in php?
The warning that was generated:
Warning: ¿ in c:\src\httpd\docs\javaext\jver.php on line 21
the code I used:
$test= new Java("Test", "test");
and the java-class:
public class Test {
String s;
public Test(String s) {
this.s= s;
}
public String gets() { return s; }
}