3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $transferIds = array(1,2,3); $p = 2.5; printf( "VIP 100% discount compensation checker: %s transfers with compensation of more than %d of src_summ", implode(',', $transferIds), $p );
based on gTrmt
Output for 7.0.19 - 7.0.31, 7.1.5 - 7.2.11
Warning: printf(): Too few arguments in /in/ZqZSf on line 10
Output for 7.0.0 - 7.0.18, 7.1.0 - 7.1.4
Warning: printf(): Too few arguments in /in/ZqZSf on line 9
Output for hhvm-3.22.0
Warning: Invalid argument: arguments: (too few) in /in/ZqZSf on line -1
Output for hhvm-3.10.1 - 3.21.3
Warning: Invalid argument: arguments: (too few) in /in/ZqZSf on line 11
Output for 5.3.20 - 5.6.38
Warning: printf(): Too few arguments in /in/ZqZSf on line 11