В роботі

Obtener un dato de un array en PHP

Tengo este arreglo , he intentado obtener el valor de confidence , pero no me lo entrega $confidence =$resultDecode2["intents"][0]["intent"]["confidence"][0]."--------";

array(5) {

[

"intents"

]=>

array(1) {

[

0

]=>

array(2) {

[

"intent"

]=>

string(5) "estas"

[

"confidence"

]=>

float(0.44791402816772)

}

}

[

"entities"

]=>

array(0) {}

[

"input"

]=>

array(1) {

[

"text"

]=>

string(7) "Ok! eli"

}

[

"output"

]=>

array(4) {

[

"generic"

]=>

array(1) {

[

0

]=>

array(2) {

[

"response_type"

]=>

string(4) "text"

[

"text"

]=>

string(18) "Claro, estoy aquí"

}

}

[

"text"

]=>

array(1) {

[

0

]=>

string(18) "Claro, estoy aquí"

}

[

"nodes_visited"

]=>

array(1) {

[

0

]=>

string(20) "node_5_1548820400618"

}

[

"log_messages"

]=>

array(0) {}

}

[

"context"

]=>

array(2) {

[

"conversation_id"

]=>

string(36) "30c9343f-4fc3-4880-9378-d513251140b3"

[

"system"

]=>

array(7) {

[

"initialized"

]=>

bool(true)

[

"dialog_stack"

]=>

array(1) {

[

0

]=>

array(1) {

[

"dialog_node"

]=>

string(4) "root"

}

}

[

"dialog_turn_counter"

]=>

int(1)

[

"dialog_request_counter"

]=>

int(1)

[

"_node_output_map"

]=>

array(1) {

[

"node_5_1548820400618"

]=>

array(1) {

[

0

]=>

array(1) {

[

0

]=>

int(0)

}

}

}

[

"branch_exited"

]=>

bool(true)

[

"branch_exited_reason"

]=>

string(9) "completed"

}

}

}

Навички: PHP, Javascript, node.js, Архітектура ПЗ, MySQL

Деталі: php youtube facebook type website development, php identify phone type imei, php mysql fieds type, php sentence file type, php credit card type automatic, php curl proxy type, array rows php, php soap client type mapping, php docx mime type, php upload video type flv, php php mysql select type, php imagecreate check type, array xls php, php replace header type, array function php, upload php csv file type, export array text php, php mysql price type, array divs php

Про роботодавця:
( 2 відгуки(-ів) ) Providencia, Chile

ID Проекту: #20302268

3 фрілансерів(-и) у середньому готові виконати цю роботу за $27

romancoder204

hello, i'm interested in your project. in my precious working years i have finished many succesful projets with 100% customer satisfaction. Good relationship with client is more important than money for me. I am very s Більше

$50 USD за 7 дні(-в)
(38 відгуків(и))
5.6
binarycompass

Hola, Si necesitas más información acerca de mi o acerca de los proyectos en los que he trabajado puedes visitar mi página web: [login to view URL]

$10 USD за 1 день
(3 відгуків(и))
2.5
anshsparkle

HI I am experienced in etc I can start right now but i have few doubts and questions lets have a quick chat and get it started waiting for your reply

$20 USD за 7 дні(-в)
(5 відгуків(и))
2.9