Hi gang,
I am trying to run a simple PHP script using the cli and I get a weird memory leak error. The script goes like this:

#! /usr/local/bin/php
// Get command line options
$options = getopt("f:d:o:");

// Print them out

// Clear the array

The problem is that when I run the script I get this error:
Script:  './bcom.php'
/usr/ports/lang/php5/work/php-5.2.8/main/main.c(2015) : Freeing 0x2871F2A8 (43 bytes), script=./bcom.php
=== Total 1 memory leaks detected ===

This is hosted on a FreeBSD 7 machine with:
PHP 5.2.8 with Suhosin-Patch (cli)

Anyone knows what is happening ??
I have to mention that the array is printed as expected.


PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to