Severity: 8192 Message: Assigning the return value of new by reference is deprecated

Discussion in 'PHP' started by korki4, Aug 30, 2011.

  1. #1
    I am having problems when I run my salesreport.php
    I checked line 390 and here is the code

    $pdf =& new Cezpdf('LETTER', 'landscape');


    What should I do?
    I am running xampp on localhost. Someone told me that my localhost is the problem
     
    Solved! View solution.
    korki4, Aug 30, 2011 IP
  2. #2
    I think you just remove the &
     
    MyVodaFone, Aug 30, 2011 IP
  3. korki4

    korki4 Member

    Messages:
    276
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    30
    #3
    lol stupid me. thanks you got the best answer
     
    korki4, Aug 30, 2011 IP