zendframework2 layout
fixed Integer check
modified for zf2 layout
change charcode