Source

pecl-ev / signal.c

Diff from to

File signal.c

 		return;
 	}
 
+	PHP_EV_CHECK_SIGNUM(signum);
+
 	if (ctor) {
 		self = getThis();
 	} else {
 	o_self->ptr = (void *) w;
 
 	if (start) {
-		PHP_EV_WATCHER_START(ev_signal, w);
+		PHP_EV_SIGNAL_START(w);
 	}
 }
 /* }}} */