Driver Code
$ arr = array ( 1291 , 897 , 4566 , 1232 , 80 , 700 ) ; $ n = sizeof ( $ arr ) ; for ( $ i = 0 ; $ i < $ n ; $ i ++ ) if ( isLucky ( $ arr [ $ i ] ) ) echo $ arr [ $ i ] , " ▁ is ▁ Lucky ▁ STRNEWLINE " ; else echo $ arr [ $ i ] , " ▁ is ▁ not ▁ Lucky ▁ STRNEWLINE " ; ? >