Objective
Everything starts hard, yes that's it!!
Before the actual development of PHP extension, always feel that PHP extension development for me is a very remote things, although I have some c\c++ foundation, but look at the PHP source is still
Writing this series of articles is mainly to urge themselves to daily quantitative digestion of some knowledge!
At the same time, in order to let the people need to learn something ~!
I really do not have high technology! There may be errors
Believe that a lot of students from c++/java/c# and so on, may make such a mistake:
Outside a large for loop, write a lot of code after, but also a loop, we do not want to throw another I, we in other languages are so dry, but in PHP this
Sublime Text is now very popular with the editor, not only in the Web front-end, in the book Simple PHP, JS and other code, is also quite good, and with a variety of plug-ins and novel interface, but also let people can not stop.
When using, we
Sina's SAE is in a secure period and does not support the SAE that uploads local files directly.
That is, you cannot select files by selecting the File button, after clicking Submit, the file cannot be successfully submitted to the SAE cloud
Work process needs to compile PHP extension DLL format file, after 1 days of tossing, finally compiled out, below to compile php5.3.28 under the Runkit extension for example, the official Windows environment under the PHP compilation process
The difference between new static () and new self () in PHP
Self: Always points to the class itself, regardless of how many times the class has been inherited, which points to the class that originally used self;Static: Pointing to a class that
Mac OS X 10.9 has been self-php-fpm, for people with a clean system obsessive-compulsive disorder, or the original control, with Brewhome re-loaded with the total feeling will have a small rabbit, the following the original PHP-FPM configuration
First, Introduction
Gearman is a tool that can delegate work to other machines or processes.Website address: http://gearman.org/
Gearman usually consists of three parts, client+worker+ task server, the worker executes the job sent by the client,
Re-recognize Unicode and UTF8 encoding
Until today, to be exact, I just knew that UTF-8 encoding and Unicode encoding are not the same, there is a difference between the embarrassingThere is a certain connection between them, look at their but
current to-do List !--? php function make_list ($parent ) {Global $tasks; Echo '
'; foreach ($parent as $task _id = + $todo) {echo "
$todo"; if (Isset ($tasks [$task _id])) {//If the current ID has
For the sake of simplicity, PHP files are written in a file with the form form.
PHP Single File upload---->
1 2 3 4
5 6 7 A - - the - -
Php -if(!Empty($_files)){ +Header(' Content-type:text/html;charset=utf-8 '); -$fileInfo=$_files[
pear:php Extension and Application Repository, is one of the most effective means for finding and resuing great PHP code.
It has been included with the distribution since version 4.3.0. If you are running PHP 4.2.X or an earlier version, this
PHP Official Learning oop:http://php.net/manual/zh/oop5.intro.php
The following link source: http://blog.snsgou.com/post-41.html
PHP Object-oriented (OOP) programming Full Tutorial: 1. What is object-oriented?
PHP Object-oriented (OOP) programming
1, I have a public number, is now connected to a third-party management background, but I want to add a function module, using a different URL and token, how can the two third parties in the background to take effect?
2, I see the open platform of
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service