Jump to content
Killersites Forums


New Members
  • Posts

  • Joined

  • Last visited

About aldutchcms

  • Birthday 05/10/1975

Profile Information

  • Gender
  • Location
    The Netherlands
  • Interests
    Webdevelopment, PHP, CMS

Contact Methods

  • Website

aldutchcms's Achievements


Newbie (1/14)



  1. Hi Stefan, Found you in Google. Great! Learning OOP here ! (and having 5 years of PHP experience the old way;) I thought "well this is going well" after wathing the first 4 OOP video's www.killerphp.com/tutorials/object-oriented-php and than..... I lost you in video 5 when you wrote: $stefan = new person(); I am confused about $stefan because you also made the var $name = "Stefan"; I mean... if you would do: $nicole = new person(); (in THAT example) it would still echo Stefan as a result in your example (build objects in PHP part 2 of 3). So why do you give the variable in the index file the name $stefan and not $foo or $too or $whatever ? You use a real persons name for a variable and I think that would never happen in a real script. I did notice, after downloading the Source Files, you changed var $name = "Stefan"; (see video at 06:03) to var $name; Hope you get my confusion. Regards, Arno
  • Create New...