# php2py **Repository Path**: stxh/php2py ## Basic Information - **Project Name**: php2py - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-09-27 - **Last Updated**: 2021-09-27 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README [ php2py - converter from php to python using phc ] ---------------------------------------------------------------------- php2py is a php script to convert php to python. As input, this script accept syntax tree XML file generated by phc instead of php code. [ Requirements ] ---------------------------------------------------------------------- php2py.php requires "phc" (php compiler) installed. you can download it at the following link: http://www.phpcompiler.org/ [ Example Use ] ---------------------------------------------------------------------- $ phc --dump-xml=ast somecode.php > out.xml $ ./php2py.php out.xml > somecode.py