3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test = 'On this <em>MLA Commons</em> group, you can sign the petition for a potential new forum approved by the Executive Council as part of the association’s restructuring of division and discussion groups. To learn more about this initiative, please <a href="http://executivecouncil.coover.mlacommons.org/2014/05/14/an-introduction-to-the-new-forum-structure/">read a letter from Margaret W. Ferguson and Marianne Hirsch</a>. To petition for the creation of this new forum, you may add your name as a comment in the <a href="http://coover.mlacommons.org/groups/prospective-forum-tc-memory-studies/forum/topic/petition-6/">Petition thread</a> of the forum discussion. (Please note that members may sign no more than five new forum petitions during the 2014 membership year.) Additional information about establishing new forums and the full list of new forums are available in the <a href="http://executivecouncil.coover.mlacommons.org/instructions-for-establishing-new-forums">Instructions for Establishing New Forums</a>.'; $new = "The Program Committee will evaluate those prospective forums that obtained at least thirty-five signatures and five leadership volunteers by 15 June. Though that deadline has passed, we still encourage you to join groups that interest you and voice your support by signing the petition and volunteering. Support for prospective forums will be evaluated periodically."; $cutpoint = strpos($test, 'Additional information'); $firstpart = substr($test, 0, $cutpoint); $secondpart = substr($test, $cutpoint); $spliced = $firstpart.$new.$secondpart; echo $spliced;

preferences:
38.16 ms | 402 KiB | 5 Q