PHP Pseudo Compiler

Sunset Edition
This update of the plugin is the last publicly released version. We do not expect to make any serious changes or add new features to it from now on.

We may not always be able to provide prompt support for this plugin on the WordPress.org forums. If you would like to have professional support or extra/custom features, xem xét việc mua các Pro phiên bản.

PHP Pseudo Compiler is a developer tool. It scans the file you specify and determines whether you have undefined functions or methods.

Why not just run the PHP code, you say? Cũng, PHP is not a compiled language. It looks for functions during runtime. So if you have a segment of code not covered by your normal testing, and you have an undefined function in there, you will never know of the undefined function until it hits production when the particular conditions activating that particular code segment are met. This tool will prove especially useful during large scale refactoring.

Live Demo

PHP Pseudo Compiler has a beautifully designed admin interface, which is feature-rich, user-friendly and functional. Please visit this fully operational live demo site to see it in action, (and to check your code without installing it locally).

Now available in your language using Google Translate.

Các tính năng

  • Modern Admin Interface: PHP Pseudo Compiler sports a modern and beautiful admin interface based on the twitter bootstrap framework.
  • Admin Interface Tour: A slick tour will take you around the admin page and familiarize you with its features.
  • Generous Help: Whenever you need help, the information and hint is only a click away in PHP Pseudo Compiler. (Trong thực tế, it is only a mouseover away.) Robust Security: Unbreakable authentication (using hash and salt), impervious to SQL injection etc.
  • WordPress Integration: PHP Pseudo Compiler comes with built-in WordPress integration. It works as a WordPress plugin if uploaded to the wp-content/plugins folder of your blog. What's more, you can switch to the standalone mode from the WordPress plugin admin page of this application, while still using the WordPress authentication mechanism and database.

Phiên bản Pro

Ngoài các phiên bản Lite đầy đủ chức năng, PHP Pseudo Compiler also has a Pro phiên bản with many more features. These features are highlighted by a red icon in the menus of the lite version.

  • Upload and Check PHP packages: Trong Cho phiên bản, you can upload a package as a zip file and check for missing function/method definitions.
  • WordPress Support: Các Cho version can load and check any plugin on your server, and recognizes WordPress functions.
  • Skinnable Admin Interface: Trong Cho phiên bản, you can select the color schemes of your admin pages from nine different skins.
  • Advanced Options: The Pro version lets you configure advanced options like suppressing duplicates, displaying all detected tokens, ability to do dynamic code analysis etc.
  • Execution Parameters: Ability to specify the maximum execution time and memory size for large compilation jobs.

Cài đặt

To install it as a WordPress plugin, please use the plugin installation interface.

  1. Search for the plugin PHP Pseudo Compiler from your admin menu Plugins -> Add New.
  2. Click on install.

It can also be installed from a downloaded zip archive.

  1. Go to your admin menu Plugins -> Add New, và click vào "Upload Plugin" gần đầu trang.
  2. Browse for the zip file and click on upload.

Once uploaded and activated,

  1. Visit the PHP Pseudo Compiler plugin admin page to configure it.
  2. Take a tour of the plugin features from the PHP Pseudo Compiler admin menu Tour and Help.

If you would like to temporarily switch to the standalone mode of the plugin, nhấp vào "Standalone Mode" button near the top right corner of PHP Pseudo Compiler screens. You can install it permanently in standalone mode (using its own database and authentication) by uploading the zip archive to your server.

  1. Upload the contents of the archive php-validator to your server.
  2. Browse to the location where your uploaded the package (http://yourserver/php-validator, ví dụ) using your web browser, and click on the green "Launch Installer" nút.
  3. Follow wizard to visit the admin page, login, configure basic options.

Ảnh chụp màn hình

  1. PHP Pseudo Compiler admin page, with quick start, help and support info.  Screenshot [php-pseudo-compiler] 1
  2. PHP Pseudo Compiler - how to launch it.  Screenshot [php-pseudo-compiler] 2
  3. Options page.  Screenshot [php-pseudo-compiler] 3
  4. PHP Pseudo Compiler output.  Screenshot [php-pseudo-compiler] 4
  5. Advanced Options in the Pro version showing a dark theme.  Screenshot [php-pseudo-compiler] 5

Thay đổi Đăng nhập

  • V2.80: Compatibility with WP4.6. Many accumulated fixes and changes. Releasing the sunset version. [Tháng Mười 12, 2016]
  • V2.70: Compatibility with WP4.5. [Tháng Tư 12, 2016]
  • V2.66: Improvements in the Google Translator interface. Compatibility with multisite installaton of subdomain type. [Tháng Hai 27, 2016]
  • V2.65: Minor interface and documentation changes. [Tháng Hai 25, 2016]
  • V2.64: Changes in the DB interface to handle the case where native drivers are not installed. Hạn chế Google Translate để dịch không dây sử dụng có thể chỉnh sửa. Tối ưu hóa ảnh chụp màn hình. [Tháng Hai 7, 2016]
  • V2.63: Thêm thông tin chẩn đoán trên các trang cập nhật. [Jan 20, 2015]
  • V2.62: Adding a dev-friendly include to introduce local settings, nếu có. [Tháng Mười Hai 30, 2015]
  • V2.61: Refactoring changes in admin footer rendering. [Tháng Mười Hai 15, 2015]
  • V2.60: Khả năng tương thích với WordPress 4.4. [Tháng Mười Hai 5, 2015]
  • V2.53: Làm menu quản trị năng động (tùy chọn) trong chế độ độc. Fixing a DB error handling bug. Improving Windows IIS compatibility. [Tháng mười một 29, 2015]
  • V2.52: Warning about PHP V5.4 requirement on the admin page. [Tháng mười một 8, 2015]
  • V2.51: Enforcing PHP V5.4 requirement at activation time. [Tháng Mười 27, 2015]
  • V2.50: Admin pages in your language using Google translation. [Tháng Mười 22, 2015]
  • V2.42: Improving the speed of admin page loading. [Tháng Chín 30, 2015]
  • V2.41: Killing the option to allow update checks. [Tháng Chín 26, 2015]
  • V2.40: Changes to make the plugin work on nginx and Microsoft servers. [Tháng Chín 20, 2015]
  • V2.33: Removing an unused ajax handler. [Tháng Chín 17, 2015]
  • V2.32: Ensuring usability on touch-screen devices. Loại bỏ một lớp không sử dụng và tập tin. [Tháng Chín 17, 2015]
  • V2.31: Reinstating the option to force the admin page loading, moving to a less colorful default theme. [Tháng Chín 14, 2015]
  • 2.30: Thêm xử lý lỗi tốt hơn về yêu cầu không hợp lệ, thêm một liên kết để cắm trang admin vào trang plugin WP, thêm khả năng để chạy lại trình cài đặt. [Tháng Chín 12, 2015]
  • V2.20: Loại bỏ các tập tin lõi WP bốc đầu refactoring và menu. [Tháng Chín 4, 2015]
  • V2.11: Refactoring changes, code clean up and fixing some W3 validation errors. [Tháng Tám 23, 2015]
  • V2.10: Releasing a live demo site. [Tháng Tám 21, 2015]
  • V2.05: Adding warnings about undetectable methods. [Tháng Tám 20, 2015]
  • V2.04: Documentation and refactoring changes only. [Tháng Tám 18, 2015]
  • V2.03: Making the compiler more robust. [Tháng Tám 17, 2015]
  • V2.02: Updating a screenshot, further minor fixes. [Tháng Tám 17, 2015]
  • V2.01: Bug fix in the AJAX error handler. [Tháng Tám 17, 2015]
  • V2.00: Major rewrite of the whole code base using the twitter bootstrap framework. Compatibility with WordPress V4.3. [Tháng Tám 15, 2015]
  • V1.30: Sửa chữa nhỏ. Compatibility with WordPress V4.0. [Tháng Chín 8, 2014]
  • V1.21: Thay đổi cấu trúc lại nhỏ. [Như 25, 2014]
  • V1.20: Kiểm tra khả năng tương thích cho WordPress v3.8. Adding more help on admin page. [Tháng Mười Hai 20, 2013]
  • V1.10: Kiểm tra khả năng tương thích với WordPress V3.7. [Tháng mười một 11, 2013]
  • V1.03: Sửa lỗi (Fatal error: Gọi thời gian đi-by-tham khảo đã được gỡ bỏ). [Jan 28, 2013]
  • V1.02: Renaming the plugin to drop the word Lite. [May 12, 2012]
  • V1.01: Minor code changes. [Tháng Tư 20, 2012]
  • V1.00: Phiên bản đầu tiên. [Tháng Tư 3, 2012]

Câu hỏi thường gặp

What does this program do?

PHP Pseudo Compiler is a developer tool. It scans the file you specify and determines whether you have undefined functions or methods.

What do I enter in "List of Files"?

You enter the path names of the files you would like to validate. Lưu ý rằng PHP Pseudo Compiler runs on your server, and the files need to be accessible by your web server. Please specify the files relative to your wp-content/plugins thư mục, or by typing in their full path names. You can enter multiple file names separated by commas.

What do I enter in "Folder Location"?

PHP Pseudo Compiler can recursively load an entire folder on your server to validate the files therein. Specify a path relative to your wp-content/plugins location (as shown in the help bubble), or as an absolute path.

What about "Upload Application"?

Using this file upload method, you can upload an entire PHP application (as a ZIP file) to your server and validate it by pseudo-compiling it. The uploaded ZIP file will be unpacked into a temporary folder and scanned for undefined functions and methods. Since the temporary locations have random names and cannot execute PHP files through external invocations, the security risk is believed to be non-existent.

How do I use the "Select a Plugin" dropdown menu?

Similar to the file upload method, you can validate any plugin installed on your WordPress server (both active and inactive ones) by pseudo-compiling it. Select a plugin and wait for the output.

What is the purpose of the "Execute the Files" tùy chọn?

The uploaded files are parsed and examined statically by default. If you would like to do dynamic analysis by executing the files, please check here. Please note that executing uploaded files may have side effects, and it may be a security hole as well. Vì lý do đó, this Pro option self-disables after each execution. Dynamic analysis is of limited value when analyzing object-oriented projects because of the inherent statefulness of the code.

Digital Goods

ezPayPalPlease visit our e-shop selling all sorts of digital goods -- Premium WordPress plugins, PHP packages, Mac Apps, eBooks etc. It runs on my own ezPayPal package, which you can purchase if you would like to start a similar e-commerce gateway. Bạn kiểm tra xem nó ra!
Xem thêm:& Nbsp; & nbsp;Other packages
Nếu bạn thích những nỗ lực của các plugin của tôi, xin vui lòng để lại nhận xét bằng cách sử dụng đăng nhập Facebook của bạn dưới đây.
Nếu bạn cần sự giúp đỡ, xin vui lòng sử dụng của chúng tôi hỗ trợ cổng thông tin thay vì. & Nbsp;ezSupport Portal
[Tự hào mang đến cho bạn EZ TrảPal.]

Bình luận