1--TEST-- 2Test decoct() - error conditions 3--FILE-- 4<?php 5/* Prototype : string decbin ( int $number ) 6 * Description: Decimal to binary. 7 * Source code: ext/standard/math.c 8 */ 9 10echo "*** Testing decoct() : error conditions ***\n"; 11 12echo "Incorrect number of arguments\n"; 13decoct(); 14decoct(23,2,true); 15 16?> 17===Done=== 18--EXPECTF-- 19*** Testing decoct() : error conditions *** 20Incorrect number of arguments 21 22Warning: decoct() expects exactly 1 parameter, 0 given in %s on line %d 23 24Warning: decoct() expects exactly 1 parameter, 3 given in %s on line %d 25===Done=== 26