Doc #77409 [Com]: Missing Documentation

From: Date: Thu, 03 Jan 2019 20:44:13 +0000
Subject: Doc #77409 [Com]: Missing Documentation
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-16287@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=77409&edit=1 ID: 77409 Comment by: colbathmark at gmail dot com Reported by: colbathmark at gmail dot com Summary: Missing Documentation Status: Open Type: Documentation Problem Package: Documentation problem Operating System: Linux PHP Version: 7.2.13 Block user comment: N Private report: N New Comment: Thing is, it's not documented in the migration 70 incompatible page. It works in PHP 5, but in PHP 7 we get a fatal error. Previous Comments: ------------------------------------------------------------------------ [2019-01-03 20:42:52] colbathmark at gmail dot com Description: ------------ --- From manual page: https://php.net/migration70.incompatible --- Test script: --------------- <?php function foo($a, $b, $c) { return $a + $b + $c; } print foo(1, 2); ?> Expected result: ---------------- 3 Actual result: -------------- PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function foo... ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=77409&edit=1

« previous php.doc.bugs (#16287) next »