<?php
/*
$a = '011';
var_dump($a);
var_dump(is_numeric($a));
var_dump(is_int($a));
var_dump(ctype_digit($a));
echo PHP_EOL;
$a = 011;
var_dump($a);
var_dump(is_numeric($a));
var_dump(is_int($a));
var_dump(ctype_digit($a));
echo PHP_EOL;
$a = '11';
var_dump($a);
var_dump(is_numeric($a));
var_dump(is_int($a));
var_dump(ctype_digit($a));
*/
$b = 2;
$c = 0;
$a = $b ?: 1;
$d = $c ?: 3;
echo $a . $d;
$a = array ( 'swap' => '0', 'observations' => '', 'date' => '2015-04-15 13:25:25', 'notes' => '', 'emag_id' => '309', 'id' => '', 'vendor_id' => '9', 'return_address_id' => '', 'order_id' => '2001495428', 'return_reason' => '1', 'return_type' => '1', 'pickup_method' => '1', 'return_tax_value' => '', 'request_status' => '2', 'replacement_product_id' => '', 'replacement_product_name' => '', 'replacement_product_quantity' => '', 'customer_name' => 'Botez Ovidiu Cristinel', 'customer_phone' => '0755337903', 'customer_company' => '', 'customer_email' => 'botezovidiucristinel@yahoo.com', 'customer_account_iban' => '', 'customer_account_bank' => '', 'pickup_suburb' => 'Bacau', 'pickup_city' => '2387', 'pickup_address' => 'Culturi nr3 bl3 scC ap9', 'pickup_zipcode' => '', 'pickup_date' => '', 'products' => array ( 0 => array ( 'quantity' => '1', 'diagnostic' => '', 'product_id' => '107618', 'product_name' => 'Pachet promo Carespot Punga - Cadou Femei', 'product_status' => '1', 'reject_reason' => '', 'refund_value' => '', ), ), );
echo json_encode($a);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/q2pp4
function name: (null)
number of ops: 16
compiled vars: !0 = $b, !1 = $c, !2 = $a, !3 = $d
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
25 0 E > ASSIGN !0, 2
26 1 ASSIGN !1, 0
27 2 JMP_SET ~6 !0, ->4
3 QM_ASSIGN ~6 1
4 ASSIGN !2, ~6
28 5 JMP_SET ~8 !1, ->7
6 QM_ASSIGN ~8 3
7 ASSIGN !3, ~8
29 8 CONCAT ~10 !2, !3
9 ECHO ~10
31 10 ASSIGN !2, <array>
33 11 INIT_FCALL 'json_encode'
12 SEND_VAR !2
13 DO_ICALL $12
14 ECHO $12
15 > RETURN 1
Generated using Vulcan Logic Dumper, using php 8.0.0
preferences:
176.13 ms | 1394 KiB | 15 Q