My favorites | Sign in
Project Home Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 1: error thrown when running test.php
1 person starred this issue and may be notified of changes. Back to list
Status:  New
Owner:  ----


 
Reported by pjkeane, Apr 2, 2008
What steps will reproduce the problem?
1. php test.php


What is the expected output? What do you see instead?
before test results, we see:
PHP Warning:  Call-time pass-by-reference has been deprecated;  If you
would like to pass it by reference, modify the declaration of
preg_match_all().  If you would like to enable call-time pass-by-reference,
you can set allow_call_time_pass_reference to true in your INI file.   in
/home/pkeane/phpatomlib-read-only/test.php on line 32


What version of the product are you using? On what operating system?
phpatomlib version 0.4
Fedora Core 8 
php 5.2.4 (cli)

Please provide any additional information below.
Patch for test.php (simply remove the ampersand before $matches)
32c32
<         if(preg_match_all('/Expect:\\s*(.*)/', $content, &$matches)) {
---
>         if(preg_match_all('/Expect:\\s*(.*)/', $content, $matches)) {


 
test.patch
155 bytes   View   Download

Powered by Google Project Hosting