text: Subtract two numbers without using arithmetic operators | PHP Program to subtract two Number without using arithmetic operator Recursive implementation . ; Driver Code
code: < ? php function subtract ( $ x , $ y ) { if ( $ y == 0 ) return $ x ; return subtract ( $ x ^ $ y , ( ~ $ x & $ y ) << 1 ) ; } $ x = 29 ; $ y = 13 ; echo " x ▁ - ▁ y ▁ is ▁ " , subtract ( $ x , $ y ) ; # This  code is contributed by ajit NEW_LINE ? >