Added isInitial, isFinal, isCompound and isParallel on PHP's API