<?php function charge(int $amount) { // charge customer for $amount; printf('charged customer %d for the product', $amount); } $amount = '400'; // $database->select('price')->from('products', 'p')->where('p.id = ?')->execute($productId); // .... charge((int) $amout);
You have javascript disabled. You will not be able to edit any code.
Value for `_results` contains invalid data `array`