[PHP-DEV] PHP 4.0 Bug #5619: java-class call fails and prints a warning From: cveld <email protected>
Date: 07/15/00

From: cveld <email protected>
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; }
}

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>