In PHP, I sometimes catch some exceptions with try/catch : try { ... } catch (Exception $e) { // Nothing, this is a test that an exception is thrown.
This question already has answers here: Does PHP allow named parameters so that optional arguments can be omitted from functi开发者_Python百科on calls?
i want fetch UDP packet, so i write this code: <?PHP error_reporting(-1); $socket = socket_create(AF_INET, SOCK_DGRAM, SOL_UDP);