Update clearsilver.c

update code to support php5.4