Exemplo n.º 1
0
def test_run_php_source():
    stdout = run_php_source("<?php echo 'hello' ?>_world")
    assert stdout == 'hello_world'
Exemplo n.º 2
0
def test_run_php_source():
    stdout = run_php_source("<?php echo 'hello' ?>_world")
    assert stdout == 'hello_world'
Exemplo n.º 3
0
 def _run(self, source, expected_warnings=None, **ignored):
     s = run_php_source(source)
     return s
Exemplo n.º 4
0
 def _run(self, source, expected_warnings=None, **ignored):
     s = run_php_source(source)
     return s
Exemplo n.º 5
0
 def run_source(self, source, expected_warnings=None):
     s = run_php_source(source)
     return s
Exemplo n.º 6
0
 def run_source(self, source, expected_warnings=None):
     s = run_php_source(source)
     return s