text: Driver Code
code: $ arr1 = array ( 3 , 4 , 9 , 1 ) ; $ arr2 = array ( 5 , 3 , 8 , 9 , 10 , 2 , 1 ) ; $ n = sizeof ( $ arr1 ) ; $ m = sizeof ( $ arr2 ) ; echo " Length ▁ of ▁ LCIS ▁ is ▁ " , LCIS ( $ arr1 , $ n , $ arr2 , $ m ) ; ? >