[PHP] Refactored spec
[PHP] Created token criteria