Start from scratch PHP learning, zero-based php_php tutorial

Source: Internet
Author: User
Tags php framework

PHP Learning from scratch, PHP starting from zero


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 in this article! I hope you can remind me and everyone after the discovery!

Secretly, the final goal of this tutorial is to implement a PHP framework (though it may be far away for me!). ~

Yesterday we built a virtual mainframe and managed to run it.

Today I'm going to write a program in this virtual host

Last built virtual host in Directory Upupw/vhosts/www.test.local (later www.test.loacl the domain name of the virtual host you built for the last lesson)

We'll open our upupw/vhosts/www.test.local with Phpstrom.

First select Open Directory

And then we opened the project.

Create a new PHP file we call him lesson1.php. (Translation Lesson: class, Course)

After you click

Once created, clicking on the file will enter the edit mode of the file.

First command Echo

ECHO is an output statement in PHP that can enclose the string output string in quotation marks.

For example

 

This page will output a Hello world

Not believe? Try?

Note that PHP must be followed by ";" Don't forget! ~

http://www.bkjia.com/phpjc/990890.html www.bkjia.com true Span id= "Isbasedonurl" itemprop= "Isbasedonurl" >http://www.bkjia.com/phpjc/990890.html techarticle starting from zero PHP learning, starting with zero PHP 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 ...

  • Contact Us

    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

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.