3v4l.org

run code in 300+ PHP versions simultaneously
<?php $_SESSION = array(); $_SESSION['userLanguage'] = array ( 'id' => 1, 'name' => 'English', 'charset' => 'iso-8859-1', 'table_suffix' => '', 'currency_decimal_point' => '.', 'currency_symbol' => '$', 'currency_thousands_sep' => ',', 'currency_format' => '%c%n' ); $_SESSION['user'] = array ( 'id' => 186, 'full_name' => 'testi', 'email' => 'avazquez@bykd.com', 'facebook_id' => '', 'is_active' => 1, 'first_login' => '', 'verified_email' => 1, 'type' => 'sitter', 'is_confirmed' => 1, 'premiere_sitter' => 1, 'wonderdollars' => 0, 'balance_transactions' => 30, 'monthly_subscriber' => '', 'premiere_client' => '', 'is_user_available_for_dp3' => '', 'sitter_click_id' => '', 'sitters_page' => 1 ); $_SESSION['page'] = array(); $_SESSION['formReportHoursDetail'] = array ( 2363 => array ( 'totalCharges' => 150, 'jobId' => 2363, 'tsJobDate' => 1406790000, 'timeOffset' => 480, 'child' => array ( 0 => array ( 'name' => 'Charlie Brown', 'from' => 120, 'to' => 300, 'subtotal' => 180, 'static' => 1 ) ), 'submitted' => 1, 'additionalExpenses' => 30.00, 'additionalExpensesExplain' => 'toll, parking, pizza', 'childWereSick' => 1, 'totalHours' => 180, 'priceDescription' => array('Calculated using 2-4 hour sick rate:', '1 child for 3 hours (week rate $40/hr): $120', 'Additional Expenses: $30.00') ) ); $_SESSION['time_verification_email'] = '2014-07-22 08:09:29'; var_dump($_SESSION);
Output for git.master, git.master_jit, rfc.property-hooks
array(5) { ["userLanguage"]=> array(8) { ["id"]=> int(1) ["name"]=> string(7) "English" ["charset"]=> string(10) "iso-8859-1" ["table_suffix"]=> string(0) "" ["currency_decimal_point"]=> string(1) "." ["currency_symbol"]=> string(1) "$" ["currency_thousands_sep"]=> string(1) "," ["currency_format"]=> string(4) "%c%n" } ["user"]=> array(17) { ["id"]=> int(186) ["full_name"]=> string(5) "testi" ["email"]=> string(17) "avazquez@bykd.com" ["facebook_id"]=> string(0) "" ["is_active"]=> int(1) ["first_login"]=> string(0) "" ["verified_email"]=> int(1) ["type"]=> string(6) "sitter" ["is_confirmed"]=> int(1) ["premiere_sitter"]=> int(1) ["wonderdollars"]=> int(0) ["balance_transactions"]=> int(30) ["monthly_subscriber"]=> string(0) "" ["premiere_client"]=> string(0) "" ["is_user_available_for_dp3"]=> string(0) "" ["sitter_click_id"]=> string(0) "" ["sitters_page"]=> int(1) } ["page"]=> array(0) { } ["formReportHoursDetail"]=> array(1) { [2363]=> array(11) { ["totalCharges"]=> int(150) ["jobId"]=> int(2363) ["tsJobDate"]=> int(1406790000) ["timeOffset"]=> int(480) ["child"]=> array(1) { [0]=> array(5) { ["name"]=> string(13) "Charlie Brown" ["from"]=> int(120) ["to"]=> int(300) ["subtotal"]=> int(180) ["static"]=> int(1) } } ["submitted"]=> int(1) ["additionalExpenses"]=> float(30) ["additionalExpensesExplain"]=> string(20) "toll, parking, pizza" ["childWereSick"]=> int(1) ["totalHours"]=> int(180) ["priceDescription"]=> array(3) { [0]=> string(36) "Calculated using 2-4 hour sick rate:" [1]=> string(45) "1 child for 3 hours (week rate $40/hr): $120" [2]=> string(27) "Additional Expenses: $30.00" } } } ["time_verification_email"]=> string(19) "2014-07-22 08:09:29" }

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:
46.23 ms | 409 KiB | 8 Q