Abandoned fish--how long does PHP take to get from getting started to giving up? 18

Source: Internet
Author: User

today's Course: PHP Development-0 Basics to Master Crazy Combat Tutorials (second season) "Wei Chi teacher"

Courses received yesterday's course

/* Access Member Method */$b->b ();

1. Object and member access

650) this.width=650; "Src=" https://s5.51cto.com/wyfs02/M00/9D/90/wKioL1mB3vKhI0cvAAFJMgNnIdI089.jpg-wh_500x0-wm_ 3-wmp_4-s_325565991.jpg "title=" 36020170802221745246.jpg "alt=" Wkiol1mb3vkhi0cvaafjmgnnidi089.jpg-wh_50 "/>650 ) this.width=650; "Src=" https://s4.51cto.com/wyfs02/m00/9d/90/wkiom1mb31gzlru0aaht4dj1buu651.png-wh_500x0-wm_3- Wmp_4-s_2312847965.png "title=" Qq20170802221944.png "alt=" Wkiom1mb31gzlru0aaht4dj1buu651.png-wh_50 "/>

/* $this */class C{var $name;//general properties private $heigh;//private property public $weigh;//common property static $age;//static property function B () {// Method using function to declare echo "I can eat!<br>";} Function d () {echo "My name is:". ( $this, name). ' <br> '; $this-B ();} } $p = new C (); $p, name = "Da"; $p->d ();

650) this.width=650; "Src=" https://s4.51cto.com/wyfs02/M01/9D/91/wKiom1mB8NyCK6KyAAJEObarCbU907.png-wh_500x0-wm_ 3-wmp_4-s_2972433603.png "title=" Qq20170802233442.png "alt=" Wkiom1mb8nyck6kyaajeobarcbu907.png-wh_50 "/>

/* Construction method and destructor method */class E{var $name;//General Property private $heigh;//private property public $weigh;//common property static $age;//static property function B () {// Method using function to declare echo "I can eat!<br>";} Function d () {echo "My name is:". ( $this, name). ' <br> '; $this-B ();} function __construct () {//Construction method echo "I am gouzao<br>";} function __destruct () {//destructor method echo "I am Xigou";}} $q = new E (); $q e (); $q d ();


This article from "A Big big waste fish" blog, declined reprint!

Abandoned fish--how long does PHP take to get from getting started to giving up? 18

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.