Oh… I just wish…

Every other day, I just wish PHP would adopt some of the Ruby syntax so that I could do …

puts '(Client) Protocol versions: remote=31, negotiated=29'.split('=')[-1]

# 29

… instead of …

$str = '(Client) Protocol versions: remote=31, negotiated=29';
echo substr($str, strrpos($str, '=') + 1);

// 29