3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $body .= "Add'l Zerve-influenced: " . Format::money( floatval( @$seller_zerve_tx_total['ticket_sales'] ),'%#5n' ) . " " . count( $seller_zerve_tx_data ) . " " . ut_pluralize( count( $seller_zerve_tx_data ), 'purchase', 'purchases' ) . " (" . intval( @$seller_zerve_tx_total['num_tickets'] ) . " " . ut_pluralize( intval( @$seller_zerve_tx_total['num_tickets'] ), 'ticket', 'tickets' ) . ( @$seller_zerve_tx_total['num_extras'] ? ", " . intval( @$seller_zerve_tx_total['num_extras'] ) . " " . ut_pluralize( intval( @$seller_zerve_tx_total['num_extras'] ), 'extra', 'extras' ) : '' ) . ") " . EOL; print $body;
Output for 7.0.0 - 7.1.0
Fatal error: Uncaught Error: Class 'Format' not found in /in/i2VAi:4 Stack trace: #0 {main} thrown in /in/i2VAi on line 4
Process exited with code 255.
Output for 5.0.0 - 5.6.28
Fatal error: Class 'Format' not found in /in/i2VAi on line 4
Process exited with code 255.
Output for 4.3.2 - 4.4.9
Fatal error: Undefined class name 'format' in /in/i2VAi on line 4
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Undefined class name 'format' in /in/i2VAi on line 4