3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test_str = "Mit #[a]http://www.shakin-cats.de/[@]Shakin' Cats[/a]"; $band_start_pos = strpos( $test_str, '#' ); // erstes Zeichen # $row['beschreibung'] if ( $band_start_pos !== FALSE ) { echo "[".$test_str."]<br>"; echo "band_start_pos=[".$band_start_pos."]<br>"; $band_end_pos = strpos( $test_str, '#', $band_start_pos +1 ); // zweites Zeichen # if ( $band_end_pos !== FALSE ) { echo "band_end_pos=[".$band_end_pos."]<br>"; $band_name = substr( $test_str, $band_start_pos +1, $band_end_pos - $band_start_pos +1 ); echo "[".$band_name."]<br>"; } }
Output for git.master, git.master_jit, rfc.property-hooks
[Mit #[a]http://www.shakin-cats.de/[@]Shakin' Cats[/a]]<br>band_start_pos=[4]<br>

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
29.85 ms | 405 KiB | 5 Q