php和nodeJs捕获异常在回掉函数中的差异php代码:<pre<codetry{foo(2,function($param){if($param1){thrownewException(&39;cathing&39;);}});}cat