def test_run_php_source(): stdout = run_php_source("<?php echo 'hello' ?>_world") assert stdout == 'hello_world'
def _run(self, source, expected_warnings=None, **ignored): s = run_php_source(source) return s
def run_source(self, source, expected_warnings=None): s = run_php_source(source) return s