- Output for 5.6.38, 7.1.0 - 7.1.23, 7.2.0 - 7.2.11
- Parse error: syntax error, unexpected ':', expecting '(' in /in/pltuu on line 5
Process exited with code 255.
<?php
$truc = [
"platform_id" => "IT",
"pair" => array:4 [
0 => array:2 [
"score" => 0.0
"version" => "1"
]
1 => array:2 [
"score" => 1.0990682605629E-5
"version" => "ranking_score_v1"
]
2 => array:2 [
"score" => 1.0990682605629E-5
"version" => "ranking_score_v2"
]
3 => array:2 [
"score" => 1.0990682605629E-5
"version" => "ranking_score_v3"
]
],
"article_id" => 3084207,
"product_id" => 3222466
]
;
$tmp = ['product_id' => $item['product_id']], $truc
dump($tmp);