How PHP integrates with JAVA

(*-*)浩
Release: 2023-02-24 14:06:01
Original
3125 people have browsed it

JPHP is a PHP compiler based on JavaVM. Similar to javac, PHP source code can be compiled into JVM bytecode and executed in the JVM.

How PHP integrates with JAVA

Supports many features of PHP (5.6), JDK 1.6, supports Android platform.

The author stated that JPHP is not intended to replace Zend PHP engine or Facebook HHVM. (Recommended learning:PHP programming from entry to proficiency)

JPHPis a new PHP compiler and new runtime library written in the Java language, supporting multiple Threads, unicode strings (UTF-16), GUI, Android development and embedded web applications, JPHP can compile PHP source code into JVM bytecode and execute it in the JVM.

Main features include:

Through JIT (1x - 10x faster than PHP 5.5), improve performance by optimizing constant expressions, inline functions, etc.;

Supports the use of Java classes and libraries in PHP code;

Supports strings (UTF-16);

Supports threads, Sockets, and environment architecture (including sandbox objects in runkit zend extension);

Support GUI (based on Swing, improved and more flexible layout);

Embedded caching system;

Support Android OS;

Embedded caching system for classes and functions

and so on.

How PHP integrates with JAVA

The above is the detailed content of How PHP integrates with JAVA. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
php
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!