note 128581 added to class.typeerror

From: Date: Fri, 02 Jun 2023 01:02:37 +0000
Subject: note 128581 added to class.typeerror
Groups: php.notes 
Request: Send a blank email to php-notes+get-220537@lists.php.net to get a copy of this message
<?php declare(strict_types=1); function sumarEnteros(int $entero1, int $entero2): int | float { return ($entero1 + $entero2)/3 ; } $resultado = sumarEnteros(2, 6); echo $resultado; ?> <!DOCTYPE html> <html> <head> <title>Suma en PHP</title> </head> <body> </body> </html> ---- Server IP: 45.112.84.4 Probable Submitter: 80.90.13.130 (proxied: 2803:9800:a540:8014:5571:8e85:98ae:cd1a) ---- Manual Page -- https://php.net/manual/en/class.typeerror.php Edit -- https://main.php.net/note/edit/128581 Del: integrated -- https://main.php.net/note/delete/128581/integrated Del: useless -- https://main.php.net/note/delete/128581/useless Del: bad code -- https://main.php.net/note/delete/128581/bad+code Del: spam -- https://main.php.net/note/delete/128581/spam Del: non-english -- https://main.php.net/note/delete/128581/non-english Del: in docs -- https://main.php.net/note/delete/128581/in+docs Del: other reasons-- https://main.php.net/note/delete/128581 Reject -- https://main.php.net/note/reject/128581 Search -- https://main.php.net/manage/user-notes.php

« previous php.notes (#220537) next »