3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $url_param['g'] = '5000-2000';//2000_5000排氣量 $url_param['door'] = array(0,1);//車門 $url_param['chair'] = array(2,3);//乘客數 $url_param['color'] = array(3,4);//顏色 $url_param['tab'] = array(1,0);//變速系統 $url_param['power'] = array(0,1);//引擎燃料 $url_param['u'] = '1';//聯盟 var_dump($url_param);
Output for 4.3.0 - 7.1.0
array(7) { ["g"]=> string(9) "5000-2000" ["door"]=> array(2) { [0]=> int(0) [1]=> int(1) } ["chair"]=> array(2) { [0]=> int(2) [1]=> int(3) } ["color"]=> array(2) { [0]=> int(3) [1]=> int(4) } ["tab"]=> array(2) { [0]=> int(1) [1]=> int(0) } ["power"]=> array(2) { [0]=> int(0) [1]=> int(1) } ["u"]=> string(1) "1" }