|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-06-13 10:32 UTC] sniper@php.net
[2005-06-16 14:43 UTC] pornel at despammed dot com
[2005-06-16 15:33 UTC] sniper@php.net
[2005-06-16 16:46 UTC] dmitry@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 22 10:00:01 2025 UTC |
Description: ------------ throw NULL; throw 1; and probably all non-object throws result in "Invalid Opcode" errors. if PHP isn't supposed to allow throwing of scalar values, error should be more precise. Reproduce code: --------------- function ERR() {throw 'x';} Expected result: ---------------- C++-like throwing of anything or parse error.