(data)
return encoded[:-1]
Convert string to chr(xx).chr(xx) for use in php
Convert string to chr(xx).chr(xx) for use in php
Convert string to chr ( xx ) . chr ( xx ) for use in php
def php_str_noquotes(data):
    "Convert string to chr(xx).chr(xx) for use in php"
    encoded = ""
    for char in data:
        encoded += "chr({0}).".format(ord(char))
    return encoded[:-1]
def php_str_noquotes ( data ) : encoded = "" for char in data : encoded += "chr({0})." . format ( ord ( char ) ) return encoded [ : - 1 ]