3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = 'goofe eas تان ک'.chr( bindec( '11111100' ) ).'ے عسکری ذرائع کے مطابق بدھ' .chr( bindec( '11011111' ) ); echo mb_substr( $string , 6 , null , 'utf-8' )."\n"; echo mb_substr( $string , 6 , 4 , 'utf-8' )."\n"; echo mb_substr( $string , 6 , -4 )."\n"; echo mb_substr( $string , -4 , null , 'utf-8' )."\n"; mb_internal_encoding( 'utf-8' ); echo mb_substr( $string , 6 )."\n"; echo mb_substr( $string , 6 , 4 )."\n"; echo mb_substr( $string , 6 , -4 )."\n"; echo mb_substr( $string , -4 )."\n"; exit(0);
Output for git.master, git.master_jit, rfc.property-hooks
eas تان ک�ے عسکری ذرائع کے مطابق بدھ� eas eas تان ک�ے عسکری ذرائع کے مطابق بدھ� eas تان ک�ے عسکری ذرائع کے مطابق بدھ� eas eas تان ک�ے عسکری ذرائع کے مطابق بدھ�

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:
51.47 ms | 402 KiB | 8 Q