XLVIII. Java

The former is provided by a SAPI module that interfaces with the Servlet server , the latter by the Java extension .

PHP 4 ext / java provides a simple and effective means for creating and invoking methods on Java objects from PHP . Build instructions for ext / java can be found in php4 / ext / java / README .

דוגמה 1 .




דוגמה 2 .




Notes:

sapi / servlet builds upon the mechanism defined by ext / java to enable the entire PHP processor to be run as a servlet .



תוכן העניינים:
java_last_exception_clear -- Clear last Java exception
java_last_exception_get -- Get last Java exception