Intern — Junior
Have you written code in PHP?
sobes.tech AI
Answer from AI
Yes, I have experience writing code in PHP. For example, to create a simple REST API, you can use the following code:
<?php
header('Content-Type: application/json');
$data = ['status' => 'success', 'message' => 'Hello, PHP!'];
echo json_encode($data);
PHP is often used for server-side logic, working with databases, and generating HTML pages.