Updated main extension .c file to php_extractor.c