@ 2014-11-16T21:49:24Z <?php
$a = '{
"form":{
"id":"2",
"name":"Test"
},
"elements":[
{
"id":"2",
"f_id":"2",
"e_id":"4",
"data":"{\"e_id\":\"4\",\"name\":\"Dropdown\",\"label\":\"Dropdown\",\"required\":\"0\",\"calculate_enabled\":\"1\",\"options\":[{\"value\":\"0\",\"text\":\"Option 0\"},{\"value\":\"1\",\"text\":\"Option 1\"},{\"value\":\"2\",\"text\":\"Option 2\"}],\"calculate\":[{\"operator\":\"0\",\"target\":\"0\",\"value\":\"\"}],\"overwrite_price\":\"0\",\"calculate_before\":\"0\",\"conditional\":[{\"action\":\"0\",\"target\":\"0\",\"operator\":\"0\",\"value\":\"\"}],\"discount\":[{\"range_min\":\"1\",\"range_max\":\"1\",\"operator\":\"add\",\"discount_value\":\"10\"},{\"range_min\":\"2\",\"range_max\":\"2\",\"operator\":\"add\",\"discount_value\":\"100\"}],\"class\":\"\",\"hidden\":\"0\",\"columns\":\"6\"}",
"position":"4"
},
{
"id":"5",
"f_id":"2",
"e_id":"7",
"data":"{\"e_id\":\"7\",\"name\":\"Numbers\",\"label\":\"Numbers\",\"required\":\"0\",\"calculate_enabled\":\"1\",\"factor\":\"1\",\"value\":\"\",\"min\":\"0\",\"max\":\"100\",\"slider\":\"0\",\"steps_slider\":\"1\",\"spinner\":\"0\",\"steps_spinner\":\"1\",\"calculate\":[{\"operator\":\"0\",\"target\":\"0\",\"value\":\"\"}],\"overwrite_price\":\"0\",\"calculate_before\":\"0\",\"conditional\":[{\"action\":\"0\",\"target\":\"0\",\"operator\":\"0\",\"value\":\"\"}],\"discount\":[{\"range_min\":\"\",\"range_max\":\"\",\"operator\":\"0\",\"discount_value\":\"\"}],\"placeholder\":\"\",\"class\":\"\",\"hidden\":\"0\",\"columns\":\"6\"}",
"position":"3"
},
{
"id":"6",
"f_id":"2",
"e_id":"15",
"data":"{\"e_id\":\"15\",\"name\":\"Subtotal\",\"label\":\"Subtotal\",\"calculate_enabled\":\"1\",\"calculate\":[{\"operator\":\"0\",\"target\":\"0\",\"value\":\"\"}],\"overwrite_price\":\"0\",\"conditional\":[{\"action\":\"0\",\"target\":\"0\",\"operator\":\"0\",\"value\":\"\"}],\"discount\":[{\"range_min\":\"50\",\"range_max\":\"\",\"operator\":\"percent_sub\",\"discount_value\":\"10\"}],\"class\":\"\",\"hidden\":\"0\",\"columns\":\"6\"}",
"position":"2"
},
{
"id":"10",
"f_id":"2",
"e_id":"12",
"data":"{\"e_id\":\"12\",\"name\":\"HTML\",\"html\":\"<a href=\\\"#\\\">bla'a<\\/a>\",\"hidden\":\"0\",\"columns\":\"6\"}",
"position":"1"
}
],
"options":[
{
"f_id":"2",
"o_id":"1",
"value":"",
"name":"email_recipient",
"type":""
},
{
"f_id":"2",
"o_id":"2",
"value":"Thank you for your submission!",
"name":"success_text",
"type":""
},
{
"f_id":"2",
"o_id":"3",
"value":"1",
"name":"spam_time",
"type":""
},
{
"f_id":"2",
"o_id":"4",
"value":"1",
"name":"show_required_char",
"type":"yesno"
},
{
"f_id":"2",
"o_id":"5",
"value":"$",
"name":"currency",
"type":""
},
{
"f_id":"2",
"o_id":"6",
"value":"Price",
"name":"price_label",
"type":""
},
{
"f_id":"2",
"o_id":"7",
"value":"0",
"name":"show_element_price",
"type":"yesno"
},
{
"f_id":"2",
"o_id":"8",
"value":"1",
"name":"submission_enabled",
"type":"yesno"
},
{
"f_id":"2",
"o_id":"9",
"value":"1",
"name":"show_price_position",
"type":"select,Hidden|Below|Above|Below and above|Fixed left|Fixed right"
},
{
"f_id":"2",
"o_id":"10",
"value":"",
"name":"email_admin_sender",
"type":""
},
{
"f_id":"2",
"o_id":"11",
"value":"Your submission",
"name":"email_subject",
"type":""
},
{
"f_id":"2",
"o_id":"12",
"value":"Thank you for your submission, we will contact you soon!\r\n\r\n{{result}}",
"name":"email_text",
"type":"editor"
},
{
"f_id":"2",
"o_id":"13",
"value":"New submission",
"name":"email_admin_subject",
"type":""
},
{
"f_id":"2",
"o_id":"14",
"value":"You have received a new submission:\r\n\r\n{{result}}",
"name":"email_admin_text",
"type":"editor"
},
{
"f_id":"2",
"o_id":"15",
"value":"Submit",
"name":"submit_text",
"type":""
},
{
"f_id":"2",
"o_id":"16",
"value":"Add to cart",
"name":"submit_text_woo",
"type":""
},
{
"f_id":"2",
"o_id":"17",
"value":"",
"name":"submit_button_class",
"type":""
},
{
"f_id":"2",
"o_id":"18",
"value":"1",
"name":"email_show_total_price",
"type":"yesno"
},
{
"f_id":"2",
"o_id":"19",
"value":"1",
"name":"theme",
"type":"themes"
},
{
"f_id":"2",
"o_id":"20",
"value":"0",
"name":"currency_position",
"type":"select,Before|After"
},
{
"f_id":"2",
"o_id":"21",
"value":"mm/dd/yy",
"name":"datepicker_format",
"type":""
},
{
"f_id":"2",
"o_id":"22",
"value":"0",
"name":"pp_enabled",
"type":"yesno"
},
{
"f_id":"2",
"o_id":"23",
"value":"Check out with PayPal",
"name":"pp_submittext",
"type":""
},
{
"f_id":"2",
"o_id":"24",
"value":"Your submission",
"name":"email_subject_pp",
"type":""
},
{
"f_id":"2",
"o_id":"25",
"value":"Thank you for your submission,\r\n\r\nwe have received your payment via PayPal.",
"name":"email_text_pp",
"type":"editor"
},
{
"f_id":"2",
"o_id":"26",
"value":"We have received your payment, thank you!",
"name":"pp_paid_text",
"type":""
},
{
"f_id":"2",
"o_id":"27",
"value":"",
"name":"redirect_url",
"type":""
},
{
"f_id":"2",
"o_id":"28",
"value":"0",
"name":"min_submit_value",
"type":""
},
{
"f_id":"2",
"o_id":"29",
"value":"Minimum submission value is %s",
"name":"min_submit_value_text",
"type":""
},
{
"f_id":"2",
"o_id":"30",
"value":"1",
"name":"mailchimp_add",
"type":"yesno"
},
{
"f_id":"2",
"o_id":"31",
"value":"-1",
"name":"mailchimp_list",
"type":"mailchimp_list"
}
]
}';
print_r(json_decode($a));
Enable javascript to submit You have javascript disabled. You will not be able to edit any code.
Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).
Version System time (s) User time (s) Memory (MiB) 5.4.35 0.007 0.037 12.02 5.4.34 0.006 0.035 12.02 5.4.32 0.006 0.040 12.50 5.4.31 0.008 0.039 12.50 5.4.30 0.009 0.038 12.50 5.4.29 0.011 0.038 12.50 5.4.28 0.007 0.038 12.39 5.4.27 0.006 0.038 12.39 5.4.26 0.009 0.053 12.40 5.4.25 0.010 0.051 12.40 5.4.24 0.011 0.036 12.40 5.4.23 0.008 0.038 12.39 5.4.22 0.008 0.036 12.39 5.4.21 0.008 0.037 12.39 5.4.20 0.009 0.036 12.39 5.4.19 0.009 0.037 12.38 5.4.18 0.013 0.038 12.38 5.4.17 0.007 0.037 12.39 5.4.16 0.005 0.039 12.39 5.4.15 0.007 0.035 12.39 5.4.14 0.009 0.038 12.07 5.4.13 0.007 0.041 12.06 5.4.12 0.010 0.039 12.02 5.4.11 0.008 0.040 12.02 5.4.10 0.008 0.039 12.02 5.4.9 0.007 0.046 12.02 5.4.8 0.005 0.051 12.02 5.4.7 0.009 0.041 12.02 5.4.6 0.013 0.041 12.02 5.4.5 0.010 0.041 12.02 5.4.4 0.008 0.034 12.00 5.4.3 0.005 0.038 12.00 5.4.2 0.009 0.037 12.00 5.4.1 0.003 0.040 12.00 5.4.0 0.010 0.041 11.49 5.3.29 0.009 0.052 12.80 5.3.28 0.007 0.051 12.71 5.3.27 0.008 0.044 12.72 5.3.26 0.011 0.050 12.72 5.3.25 0.007 0.044 12.72 5.3.24 0.007 0.040 12.72 5.3.23 0.007 0.039 12.71 5.3.22 0.009 0.038 12.68 5.3.21 0.006 0.045 12.68 5.3.20 0.005 0.040 12.68 5.3.19 0.009 0.040 12.68 5.3.18 0.007 0.040 12.67 5.3.17 0.008 0.048 12.67 5.3.16 0.011 0.043 12.68 5.3.15 0.007 0.041 12.68 5.3.14 0.008 0.040 12.66 5.3.13 0.006 0.043 12.66 5.3.12 0.008 0.044 12.66 5.3.11 0.010 0.047 12.66 5.3.10 0.008 0.038 12.12 5.3.9 0.006 0.041 12.08 5.3.8 0.006 0.039 12.07 5.3.7 0.010 0.043 12.08 5.3.6 0.007 0.047 12.07 5.3.5 0.010 0.051 12.00 5.3.4 0.010 0.037 12.00 5.3.3 0.008 0.037 11.95 5.3.2 0.010 0.036 11.73 5.3.1 0.008 0.035 11.70 5.3.0 0.007 0.036 11.68 5.2.17 0.007 0.031 9.19 5.2.16 0.006 0.031 9.20 5.2.15 0.006 0.031 9.20 5.2.14 0.008 0.031 9.19 5.2.13 0.004 0.034 9.15 5.2.12 0.008 0.030 9.15 5.2.11 0.007 0.039 9.16 5.2.10 0.007 0.039 9.15 5.2.9 0.008 0.042 9.16 5.2.8 0.007 0.044 9.15 5.2.7 0.009 0.048 9.15 5.2.6 0.006 0.049 9.10 5.2.5 0.003 0.045 9.07 5.2.4 0.017 0.042 9.04 5.2.3 0.014 0.046 9.02 5.2.2 0.009 0.036 9.01 5.2.1 0.006 0.041 8.93 5.2.0 0.010 0.036 8.79 5.1.6 0.012 0.025 8.08 5.1.5 0.008 0.024 8.08 5.1.4 0.007 0.036 8.06 5.1.3 0.005 0.032 8.40 5.1.2 0.007 0.031 8.43 5.1.1 0.006 0.027 8.15 5.1.0 0.007 0.028 8.15 5.0.5 0.005 0.028 6.63 5.0.4 0.006 0.020 6.50 5.0.3 0.007 0.033 6.30 5.0.2 0.005 0.021 6.27 5.0.1 0.004 0.023 6.25 5.0.0 0.003 0.036 6.25 4.4.9 0.003 0.019 4.78 4.4.8 0.003 0.019 4.76 4.4.7 0.002 0.019 4.76 4.4.6 0.005 0.017 4.76 4.4.5 0.006 0.015 4.77 4.4.4 0.005 0.029 4.71 4.4.3 0.003 0.021 4.76 4.4.2 0.005 0.024 4.84 4.4.1 0.007 0.014 4.85 4.4.0 0.005 0.024 4.76 4.3.11 0.001 0.019 4.67 4.3.10 0.008 0.017 4.66 4.3.9 0.006 0.014 4.64 4.3.8 0.004 0.027 4.58 4.3.7 0.007 0.012 4.63 4.3.6 0.002 0.021 4.63 4.3.5 0.002 0.021 4.63 4.3.4 0.004 0.025 4.54 4.3.3 0.004 0.018 3.29 4.3.2 0.002 0.020 3.27 4.3.1 0.003 0.017 3.23 4.3.0 0.017 0.027 6.82
preferences:dark mode live preview
145.67 ms | 1394 KiB | 7 Q