can someone tell me how to use named groups syntax in PHP?

I'm trying to parse a simple math equation, for example `someVariable!=someValue`.  

I'd like to get 3 values from matching operation, stored in 3 variable `variable`, `operator`, `value`.