diff options
author | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2013-10-22 13:39:21 -0700 |
---|---|---|
committer | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2013-10-22 13:39:21 -0700 |
commit | f96fc6c53bc8bd8888aeb291441f61a65b439413 (patch) | |
tree | 030815351f20cfa6dfb36c816c5c0d737516e784 /tests/simple/simple.php | |
parent | f16847ab29d474e2b20d7f8c9f3a0f229b54c850 (diff) |
Initial setup for dealing with object properties
Diffstat (limited to 'tests/simple/simple.php')
-rw-r--r-- | tests/simple/simple.php | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/simple/simple.php b/tests/simple/simple.php index 5f3bed7..3abaa77 100644 --- a/tests/simple/simple.php +++ b/tests/simple/simple.php @@ -70,6 +70,10 @@ function slowsort($input) //$x = new my_extended_class(); //$x->myMethod(123); +$x = new my_class(); +$x->myMethod(); + + //echo(my_plus(1,2,3,4)."\n"); $array = array(); @@ -78,9 +82,9 @@ for ($i=0; $i<10000; $i++) $array[] = rand(); //$array = array(1,2,3); //print_r($array); -bubblesort($array); +//bubblesort($array); -print_r($array); +//print_r($array); //echo("my_class::a = ".$x->a."\n"); |