PHP Classes

Error in URLNormalizerTest.php

Recommend this page to a friend!

      URL Normalizer  >  All threads  >  Error in URLNormalizerTest.php  >  (Un) Subscribe thread alerts  
Subject:Error in URLNormalizerTest.php
Summary:error on line 12 urlnormalizertest.php
Date:2011-02-07 15:49:36
Update:2011-02-07 21:28:11


  1. Error in URLNormalizerTest.php   Reply   Report abuse  
Picture of altainta altainta - 2011-02-07 15:49:37
I am sorry to repost the message but i was not familiar with the website

it came to my notice that there is a error on line 12 of
$this->fixture =& new URLNormalizer();

is it
$this->fixture = new URLNormalizer();

I noticed that when phpdesigner 7 warned me about it..
it says
'Assigning the return value of new by reference is deprecated'

Kindly take a look
Hey this the class i was looking for...
I would also like to ask one more thing
Will your class will pass this or not ( i mean will allow or not)
[code] ...

  2. Re: Error in URLNormalizerTest.php   Reply   Report abuse  
Picture of Glen Scott Glen Scott - 2011-02-07 21:28:11 - In reply to message 1 from altainta

I have now fixed the deprecated message, and updated the URLNormalizerTest.php file.

Thanks for reporting the error.