<?php function foo(string $a) {} // Calling internal function that uses standard ZPP try { random_bytes([]); } catch(TypeError $e) { echo $e->getMessage() . "\n"; } // Calling internal function that uses custom ZPP try { min(""); } catch(TypeError $e) { echo $e->getMessage() . "\n"; } // Calling user-land function try { foo([]); } catch(TypeError $e) { echo $e->getMessage() . "\n"; }
You have javascript disabled. You will not be able to edit any code.