PHP Classes

I get the following two errors: In polyExample.

Recommend this page to a friend!

      Polygon  >  All threads  >  I get the following two errors: In...  >  (Un) Subscribe thread alerts  
Subject:I get the following two errors: In...
Summary:Package rating comment
Messages:1
Author:Ian Onvlee
Date:2015-08-29 18:35:56
 

Ian Onvlee rated this package as follows:

Utility: Bad
Consistency: Good
Documentation: Good
Examples: Good

  1. I get the following two errors: In...   Reply   Report abuse  
Picture of Ian Onvlee Ian Onvlee - 2015-08-29 18:35:56
I get the following two errors:
In polyExample.php, Polygon.php and vertex.php
Deprecated: Assigning the return value of new by reference is deprecated
in C:\Program Files (x86)\EasyPHP-DevServer-14.1VC11\data\localweb\projects\cityhyve\test\geography\geometric polygons\polygon-2010-05-23\polyExample.php
on line 141

In Polygon.php:
Fatal error: Call to a member function id() on a non-object
in C:\Program Files (x86)\EasyPHP-DevServer-14.1VC11\data\localweb\projects\cityhyve\test\geography\geometric polygons\polygon-2010-05-23\polygon.php
on line 225
This renders your program useless