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)) {