PHP Manual
Prev |  | Next

# ascii2ebcdic

(3.0.17 - 3.0.18 only)

ascii2ebcdic -- Translate string from ASCII to EBCDIC

## Description

``int ascii2ebcdic` (string ascii_str)`

ascii2ebcdic() is an Apache-specific function which is available only on EBCDIC based operating systems (OS/390, BS2000). It translates the ASCII encoded string `ascii_str` to its equivalent EBCDIC representation (binary safe), and returns the result.

See also the reverse function ebcdic2ascii()

Prev | Home | Next
apache_note | Up | ebcdic2ascii