Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

OOP PHP

Name: Anonymous 2010-10-16 22:34

So i downloaded the latest Php version to try out this oop it has and i have some problems.


<?php
class foo{
    public $v1;
    public $v2;
}

$bar = new foo();
$bar->v1=1;
$bar->v2=5;
echo $bar->v1;
?>



now my problem is that the first '>'@($bar->v1=1;) makes the php script turn off and go back to html i guess... was there something else i needed to do before i could just jump right into oop php?

Name: Anonymous 2010-10-16 22:45

>>1
I'm afraid I can't help you, I'm far too much of a fag.  If anyone on here isn't a huge fag, maybe they can help you.  If no one helps you, I would presume, if I were you, that everyone who didn't help you but could have was too busy thinking of potential cocks they would like to suck.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List