<?php
$truc = '{"platform_id": "GB", "pair": [{"score": 1.007509757521815, "version": "1"}, {"score": 4.119796082505412e-06, "version": "ranking_score_v1"}, {"score": 4.119796082505412e-06, "version": "ranking_score_v2"}, {"score": 4.119796082505412e-06, "version": "ranking_score_v3"}], "article_id": 8146582, "product_id": 8443988}';
$tmp = ['product_id' => $item['product_id']], $truc
dump($tmp);
- Output for 5.6.38, 7.1.0 - 7.1.23, 7.2.0 - 7.2.11
- Parse error: syntax error, unexpected ',' in /in/gQKvQ on line 5
Process exited with code 255.
preferences:
171.55 ms | 1395 KiB | 44 Q