<?php preg_match('/(\Sstatus\S => \d)/', 'Array ( [status] => 1 [message] => Logged In Successfully. )', $matches ); if(!empty($matches)) { echo (int) $matches[0][strlen($matches[0]) -1]; }
You have javascript disabled. You will not be able to edit any code.