Autoformat code : Cmd + Alt + L
Settings -> Editor -> Code Style -> PHP -> Wrapping and Braces -> Align consecutive assignments
This will replace
$toto = 'test';
{ | |
"id": 45, | |
"type": "english", | |
"status": "active", | |
"transferId": "693110490", | |
"quantity": "1888279210411577156", | |
"decimals": 18, | |
"tokenType": "GOG", | |
"asset": { | |
"createdAt": "2022-04-22T11:04:26+00:00", |
{ | |
"result": [ | |
{ | |
"id": 41, | |
"type": "english", | |
"status": "expired", | |
"transferId": "478530471", | |
"quantity": "1085960303663499411", | |
"decimals": 18, | |
"tokenType": "USDC", |
numbers = [328,156,938,903,708,435,420,770,439,162,574,601,625,632,627,349,62,587,518,405,621,682,40,835,36,70,830,768,622,187,984,213,475,167,100,875,945,85,97,392,791,658,800,674,269,378,882,322,324,531,227,660,99,843,170,954,670,332,128,345,356,280,396,900,104,215,643,579,285,234,855,789,91,569,975,549,527,548,473,18,612,709,537,781,74,538,878,628,996,681,525,437,558,343,184,81,98,646,63,888,504,458,44,490,60,390,330,782,147,131,287,255,77,483,616,831,281,599,872,71,535,937,606,90,367,836,83,366,121,635,930,211,603,369,45,732,694,261,655,380,220,551,656,816,961,23,20,698,276,745,1000,297,570,556,809,318,226,247,725,182,914,560,942,676,542,350,513,990,973,840,196,691,9,153,6,896,714,355,368,228,931,739,593,776,351,283,941,183,617,786,607,710,145,668,881,750,404,993,586,382,102,19,177,623,526,123,948,57,916,462,774,803,982,833,976,939,362,1,697,901,837,305,726,260,429,692,927,242,389,647,523,767,190,35,497,545,181,883,662,137,417,540,3,315,342,264,363,754,101,985,105,520,321,756,50,686,428,822,790,294,921,54 |
<?php | |
# Lancer le projet rapidement : php -S 127.0.0.1:8000 | |
# Features | |
# - Login via API | |
# - Requête HTTP de type POST | |
# - /login | |
# - récupérer la liste des comptes via API | |
# - Requête HTTP de type GET |
customLaunchers: { | |
ChromeHeadlessCI: { | |
base: 'ChromeHeadless', | |
flags: ['--no-sandbox'] | |
} | |
} |
<?php | |
$data = file_get_contents('https://www.instagram.com/data/shared_data/'); | |
$json = json_decode($data); | |
$password = 'password'; //fuck-itdoesntwork; | |
$publicKey = '8dd9aad29d9a614c338cff479f850d3ec57c525c33b3f702ab65e9e057fc087e';// $json->encryption->public_key; | |
$keyId = 154; //$json->encryption->key_id; | |
$version = 10; //$json->encryption->version; |