PHP Learning-using Xdebug (Ubuntu) in sublime
Ashamed to say, since the beginning of the use of sublime text, never debug PHP code, recently set the debug environment, here to record. Install xdebug sudo apt-get install php5-xdebug edit Xdebug.ini
PHP command line? Yes, you can!
Use PHP for general purpose scripts and use the command line interface for PHP debugging
Learn how to debug PHP code from the command line and experience the power of PHP itself as a shell scripting
Please recommend a PHP editing tool
This post was last edited by Chilun on 2012-11-27 00:01:22
The computer installs the WIN8, installs the virtual machine to install an Ubuntu, installs the Mysql,apache and the FTP and so on software.
Now want to
A new version of the Zendstudioserver component is released at the same time each time an Zendstudio release is released, which allows us to easily debug remotely. But since Zend released Zendplatform, they are no longer updating the
One, xampp version 1.8.3-5XAMPP automatically integrates xdebug after installation, directories are generally/opt/lampp/lib/php/extensions/***-debug-*** directoriesAbout PHP and php.ini pathsThe PHP program path is:/opt/lampp/bin/PHP.ini
The PHP built-in function memory_get_usage () returns the amount of memory currently allocated to the PHP script in bytes (byte). In the actual development of the web, these functions are very useful, and we can use it to debug PHP code performance.
In the context of using Zend Studio to develop and debug PHP, I have introduced a number of Zend studio tutorials, and continue today to Zend the Studio tutorial, which focuses on Zend studio Configuration Connection svn tutorial, Zend Studio
I. What needs to be added to the php.ini
The various addresses inside, according to the actual environment and needs to modify
[xdebug]zend_extension= "D:\phpStudy\php\php-7.1.12-x86\ext\php_xdebug-2.5.5-7.1-vc14.dll"; Whether to turn
It's been a long time since I've had a problem with PHP, and this is a bit of an issue, and it's the biggest retrospective and recursive limitation of old problems. After learning it is not difficult to modify debugging has such a problem. Mainly
Before using thinkphp found a trace function can track debugging, feel very interesting, online search for the next similar things, found the chromephp, did not think of this to debug PHP program, feel very convenient, very useful.thinkphp use of
Ashamed to say, since the beginning of the use of sublime text, never debug PHP code, recently set the debug environment, here to record.Installing Xdebugsudo Install Php5-xdebugEdit the Xdebug.ini file and add the following
Record the process in case of forgetting, just for reference.
one, where to get PHP
Open the download page of the official PHP website: http://www.php.net/downloads.php
Select the "PHP 5.2.0 installer [18,879kb]-Nov 2006" link for
A good PHP development IDE allows you to liberate yourself from complex code and improve coding efficiency.
Here are a few common PHP development IDE: Here is the PHP IDE tools, are specifically for the development of PHP, interested can try to find
Parsing json in PHP is mainly used to Json_encode and Json_decode two PHP JSON functions, more convenient than PHP parsing XML, the following detailed introduction of the use of PHP json.
JSON Basics Introduction
JSON (JavaScript Object notation)
The effect of the following figure
The PHP console is a chrome plug-in that can help users simulate the actual PHP Web environment and help users debug PHP code using the Chrome plugin, and after the user has installed the PHP console plugin in
The PHP built-in function memory_get_usage () returns the amount of memory currently allocated to the PHP script in bytes (byte). In the actual development of the web, these functions are very useful, and we can use it to debug PHP code
The goal of PHP optimization is to get the fastest running speed and the easiest code to maintain with the least cost. To provide you with the following optimization techniques:
1. Echo is faster than print.
2. Use Echo's multiple parameters
What happens if you use a big mirror as a surfboard? Maybe you will conquer the waves in a short time, but you must know from the bottom of your heart that this is not the right choice for surfing. The same applies to PHP programming, although the
Here are 10 free, powerful PHP editors/development tools. These editors have features such as debuggers, incrementally executing PHP scripts, and viewing all variable values for each row.1) Notepad + +Notepad++ is a very distinctive editor, is open
PHP is not only a rich language, it can also help developers easily create a better network environment. In order to further help developers, small series will share with you some free and high-quality PHP class library, hope to be able to help
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.