<?php
$str1 = "nome = stack";
$str2 = "id <5";
$str3 = "senha != over";
$arr1 = preg_split("/([^\w\s]+\s*)/", $str1, -1, PREG_SPLIT_DELIM_CAPTURE
); echo $arr1[0] . $arr1[1] . "\n";
echo $arr1[2] . "\n";
echo "\n";
$arr2 = preg_split("/([^\w\s]+\s*)/", $str2, -1, PREG_SPLIT_DELIM_CAPTURE
); echo $arr2[0] . $arr2[1] . "\n";
echo $arr2[2] . "\n";
echo "\n";
$arr3 = preg_split("/([^\w\s]+\s*)/", $str3, -1, PREG_SPLIT_DELIM_CAPTURE
); echo $arr3[0] . $arr3[1] . "\n";
echo $arr3[2] . "\n";
PD9waHAKCiRzdHIxID0gIm5vbWUgPSBzdGFjayI7CiRzdHIyID0gImlkIDw1IjsKJHN0cjMgPSAic2VuaGEgIT0gb3ZlciI7CgokYXJyMSA9IHByZWdfc3BsaXQoIi8oW15cd1xzXStccyopLyIsICRzdHIxLCAtMSwgUFJFR19TUExJVF9ERUxJTV9DQVBUVVJFKTsKZWNobyAkYXJyMVswXSAuICRhcnIxWzFdIC4gIlxuIjsKZWNobyAkYXJyMVsyXSAuICJcbiI7CgplY2hvICJcbiI7CgokYXJyMiA9IHByZWdfc3BsaXQoIi8oW15cd1xzXStccyopLyIsICRzdHIyLCAtMSwgUFJFR19TUExJVF9ERUxJTV9DQVBUVVJFKTsKZWNobyAkYXJyMlswXSAuICRhcnIyWzFdIC4gIlxuIjsKZWNobyAkYXJyMlsyXSAuICJcbiI7CgplY2hvICJcbiI7CgokYXJyMyA9IHByZWdfc3BsaXQoIi8oW15cd1xzXStccyopLyIsICRzdHIzLCAtMSwgUFJFR19TUExJVF9ERUxJTV9DQVBUVVJFKTsKZWNobyAkYXJyM1swXSAuICRhcnIzWzFdIC4gIlxuIjsKZWNobyAkYXJyM1syXSAuICJcbiI7Cg==