= $ascii_a && $char <= $ascii_z ){ $char = ( ( $key + $char - $ascii_a ) % 26 ) + $ascii_a; } $plaintext = substr( $plaintext, 1 ); $ciphertext .= chr( $char ); } return $ciphertext; } echo caesarEncode( "The quick brown fox Jumped over the lazy Dog", 12 ), "\n"; ?>