Multiplication with a power of 2 | Efficient PHP program to compute x * ( 2 ^ n ) ; Driver Code
< ? php function multiply ( $ x , $ n ) { return $ x << $ n ; } $ x = 70 ; $ n = 2 ; echo multiply ( $ x , $ n ) ; ? >