Пример #1
0
def test_run_php_source():
    stdout = run_php_source("<?php echo 'hello' ?>_world")
    assert stdout == 'hello_world'
Пример #2
0
def test_run_php_source():
    stdout = run_php_source("<?php echo 'hello' ?>_world")
    assert stdout == 'hello_world'
Пример #3
0
 def _run(self, source, expected_warnings=None, **ignored):
     s = run_php_source(source)
     return s
Пример #4
0
 def _run(self, source, expected_warnings=None, **ignored):
     s = run_php_source(source)
     return s
Пример #5
0
 def run_source(self, source, expected_warnings=None):
     s = run_php_source(source)
     return s
Пример #6
0
 def run_source(self, source, expected_warnings=None):
     s = run_php_source(source)
     return s