Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 74f4b772aa
Fetching contributors…

Cannot retrieve contributors at this time

13 lines (12 sloc) 0.414 kb
--TEST--
Runkit_Sandbox::__call() method
--SKIPIF--
<?php if(!extension_loaded("runkit") || !RUNKIT_FEATURE_SANDBOX) print "skip";
/* May not be available due to lack of TSRM interpreter support */
if(!function_exists("runkit_lint")) print "skip"; ?>
--FILE--
<?php
$php = new Runkit_Sandbox();
echo $php->str_replace('foo','bar',"The word of the day is foo\n");
--EXPECT--
The word of the day is bar
Jump to Line
Something went wrong with that request. Please try again.