PHP  
 PHP_5_6
downloads | QA | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net 
 

Test Failure Report for Zend/tests/memory_get_peak_usage.phpt ('int memory_get_peak_usage ([ bool $real_usage = false ] );')

Script

1: <?php
2: var_dump
($a memory_get_peak_usage());
3:
var_dump(memory_get_peak_usage(true));
4:
var_dump(memory_get_peak_usage(false));
5:
$array range(1,1024*1024);
6:
var_dump(memory_get_peak_usage() > $a);
7:
?>
8:

Expected

int(%d)
int(%d)
int(%d)
bool(true)

Output

int(0)
int(0)
int(0)
bool(false)

Diff

004+ bool(false)
004- bool(true)

 

Generated at Mon, 27 Nov 2017 05:04:32 +0000 (17 days ago)

Copyright © 2005-2017 The PHP Group
All rights reserved.