Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: php-5.4.2
Fetching contributors…

Cannot retrieve contributors at this time

22 lines (16 sloc) 0.368 kb
--TEST--
Test wrong number of arguments for ob_get_length()
--FILE--
<?php
/*
* proto int ob_get_length(void)
* Function is implemented in main/output.c
*/
$extra_arg = 1;
echo "\nToo many arguments\n";
var_dump(ob_get_length($extra_arg));
?>
--EXPECTF--
Too many arguments
Warning: ob_get_length() expects exactly 0 parameters, 1 given in %s on line 10
NULL
Jump to Line
Something went wrong with that request. Please try again.