3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $res = "month1%5B%5D=4&sap=721&name=uname&month1%5B%5D=10000.00&month2%5B%5D=10000.00&month3%5B%5D=0.00&month4%5B%5D=&month5%5B%5D=&month6%5B%5D=&month1%5B%5D=15000&month2%5B%5D=0.00&month3%5B%5D=0.00&month4%5B%5D=&month5%5B%5D=&month6%5B%5D=&month1%5B%5D=50&month2%5B%5D=50&month3%5B%5D=50&month4%5B%5D=&month5%5B%5D=&month6%5B%5D=&month1%5B%5D=15000&month2%5B%5D=10000&month3%5B%5D=0&month4%5B%5D=0&month5%5B%5D=0&month6%5B%5D=0&sap_data%5B%5D=&sap_data%5B%5D=&sap_data%5B%5D=&sap_data%5B%5D="; print_r(urldecode($res)); print_r(userialize($res));
Output for 7.0.0 - 7.1.0
month1[]=4&sap=721&name=uname&month1[]=10000.00&month2[]=10000.00&month3[]=0.00&month4[]=&month5[]=&month6[]=&month1[]=15000&month2[]=0.00&month3[]=0.00&month4[]=&month5[]=&month6[]=&month1[]=50&month2[]=50&month3[]=50&month4[]=&month5[]=&month6[]=&month1[]=15000&month2[]=10000&month3[]=0&month4[]=0&month5[]=0&month6[]=0&sap_data[]=&sap_data[]=&sap_data[]=&sap_data[]= Fatal error: Uncaught Error: Call to undefined function userialize() in /in/84juA:4 Stack trace: #0 {main} thrown in /in/84juA on line 4
Process exited with code 255.
Output for 5.0.0 - 5.6.28, hhvm-3.10.0 - 3.12.0
month1[]=4&sap=721&name=uname&month1[]=10000.00&month2[]=10000.00&month3[]=0.00&month4[]=&month5[]=&month6[]=&month1[]=15000&month2[]=0.00&month3[]=0.00&month4[]=&month5[]=&month6[]=&month1[]=50&month2[]=50&month3[]=50&month4[]=&month5[]=&month6[]=&month1[]=15000&month2[]=10000&month3[]=0&month4[]=0&month5[]=0&month6[]=0&sap_data[]=&sap_data[]=&sap_data[]=&sap_data[]= Fatal error: Call to undefined function userialize() in /in/84juA on line 4
Process exited with code 255.
Output for 4.4.5 - 4.4.9
month1[]=4&sap=721&name=uname&month1[]=10000.00&month2[]=10000.00&month3[]=0.00&month4[]=&month5[]=&month6[]=&month1[]=15000&month2[]=0.00&month3[]=0.00&month4[]=&month5[]=&month6[]=&month1[]=50&month2[]=50&month3[]=50&month4[]=&month5[]=&month6[]=&month1[]=15000&month2[]=10000&month3[]=0&month4[]=0&month5[]=0&month6[]=0&sap_data[]=&sap_data[]=&sap_data[]=&sap_data[]= Fatal error: Call to undefined function: userialize() in /in/84juA on line 4
Process exited with code 255.
Output for 4.3.2 - 4.4.4
month1[]=4&sap=721&name=uname&month1[]=10000.00&month2[]=10000.00&month3[]=0.00&month4[]=&month5[]=&month6[]=&month1[]=15000&month2[]=0.00&month3[]=0.00&month4[]=&month5[]=&month6[]=&month1[]=50&month2[]=50&month3[]=50&month4[]=&month5[]=&month6[]=&month1[]=15000&month2[]=10000&month3[]=0&month4[]=0&month5[]=0&month6[]=0&sap_data[]=&sap_data[]=&sap_data[]=&sap_data[]= Fatal error: Call to undefined function: userialize() in /in/84juA on line 4
Process exited with code 255.
Output for 4.3.0 - 4.3.1
month1[]=4&sap=721&name=uname&month1[]=10000.00&month2[]=10000.00&month3[]=0.00&month4[]=&month5[]=&month6[]=&month1[]=15000&month2[]=0.00&month3[]=0.00&month4[]=&month5[]=&month6[]=&month1[]=50&month2[]=50&month3[]=50&month4[]=&month5[]=&month6[]=&month1[]=15000&month2[]=10000&month3[]=0&month4[]=0&month5[]=0&month6[]=0&sap_data[]=&sap_data[]=&sap_data[]=&sap_data[]= Fatal error: Call to undefined function: userialize() in /in/84juA on line 4