Ignore non-scalar values for length.
Ignore non-scalar values for length.

Fixes #3159

tenkoma/cakephp,pbaire/cakephp,CakeDC/cakephp,adopico/cakephp,Balachan27/cakephp,mvdriel/cakephp,adopico/cakephp,CakeDC/cakephp,jeffblack360/cakephp,kumamidori/cakephp,khoimt/cakephp-study,et304383/passbolt_api,ndm2/cakephp,thinkingmedia/cakephp,tisu2tisu/cakephp,gmponos/cakephp,davidyell/cakephp,petteyg/cakephp,mvdriel/cakephp,eryw/cakephp,petteyg/cakephp,elboletaire/cakephp,web-player/cakephp,elboletaire/cakephp,gmponos/cakephp,HavokInspiration/cakephp,michaelze/cakephp,dakota/cakephp,CakeDC/cakephp,jerems02/cakephp,timhoeppner/cakephp,bravo-kernel/cakephp,tenkoma/cakephp,erikfig/cakephp,et304383/passbolt_api,burriko/cakephp,et304383/passbolt_api,garethellis36/cakephp,timhoeppner/cakephp,garethellis36/cakephp,jerems02/cakephp,bravo-kernel/cakephp,HavokInspiration/cakephp,tgr0ss/cakephp,davidyell/cakephp,Phillaf/cakephp,cakephp/cakephp,ionas/cakephp,eryw/cakephp,yinhe007/cakephp,HavokInspiration/cakephp,web-player/cakephp,burriko/cakephp,cakephp/cakephp,kumamidori/cakephp,berrygoudswaard/cakephp,garethellis36/cakephp,tisu2tisu/cakephp,thinkingmedia/cakephp,justinyost/cakephp,CVO-Technologies/cakephp,ADmad/cakephp,adopico/cakephp,gmponos/cakephp,cakephp/cakephp,nrother/cakephp,jjj117/cakephp,cakephp/cakephp,jeffblack360/cakephp,dkarvounaris/cakephp,ADmad/cakephp,tgr0ss/cakephp,ADmad/cakephp,berrygoudswaard/cakephp,yinhe007/cakephp,tenkoma/cakephp,khoimt/cakephp-study,akintoey/cakephp,elboletaire/cakephp,dakota/cakephp,jjj117/cakephp,justinyost/cakephp,berrygoudswaard/cakephp,akintoey/cakephp,erikfig/cakephp,Phillaf/cakephp,web-player/cakephp,ndm2/cakephp,cakephp-fr/cakephp,eboominathan/cakephp,ndm2/cakephp,cakephp-fr/cakephp,eboominathan/cakephp,dakota/cakephp,et304383/passbolt_api,jjj117/cakephp,michaelze/cakephp,Phillaf/cakephp,dkarvounaris/cakephp,tenkoma/cakephp,ionas/cakephp,garethellis36/cakephp,eryw/cakephp,mvdriel/cakephp,michaelze/cakephp,eboominathan/cakephp,dakota/cakephp,Balachan27/cakephp,justinyost/cakephp,jeffblack360/cakephp,CVO-Technologies/cakephp,petteyg/cakephp,cakephp-fr/cakephp,akintoey/cakephp,bravo-kernel/cakephp,et304383/passbolt_api,pbaire/cakephp,petteyg/cakephp,nrother/cakephp,kumamidori/cakephp,khoimt/cakephp-study,tgr0ss/cakephp,thinkingmedia/cakephp,ndm2/cakephp,erikfig/cakephp,CVO-Technologies/cakephp,tisu2tisu/cakephp,davidyell/cakephp,timhoeppner/cakephp,CakeDC/cakephp,yinhe007/cakephp,mvdriel/cakephp,ADmad/cakephp,pbaire/cakephp,ionas/cakephp,Balachan27/cakephp,burriko/cakephp,jerems02/cakephp,nrother/cakephp,dkarvounaris/cakephp