3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $test='numbers %2$s %1$s, %3$s'; $tags = __( 'Calendario litúrgico, Evangelio, Evangelio del mes de %2$d del %3$d, Evangelios %3$d, Homilia, Homilias del mes de %2$d del %3$d, Lecturas, Lecturas de %3$d, Lecturas de los %1$s, Lecturas del mes de %2$d del %3$d, Salmo, Salmos del mes de %2$d del %3$d' ); $test=sprintf($tags, test(1), test(2), test(3)); function test( $data ){ return $data*3; } echo $test;
based on rpklS
Output for 7.0.0 - 7.2.0
Fatal error: Uncaught Error: Call to undefined function __() in /in/IlbkB:3 Stack trace: #0 {main} thrown in /in/IlbkB on line 3
Process exited with code 255.
Output for 5.3.22 - 5.6.28
Fatal error: Call to undefined function __() in /in/IlbkB on line 3
Process exited with code 255.