Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

petar-gutic's avatar

petar-gutic wrote a comment+100 XP

3mos ago

I use XAMPP on Ubuntu, and I’m completely satisfied with phpMyAdmin for database management.

petar-gutic's avatar

petar-gutic wrote a comment+100 XP

3mos ago

Tailwind CSS (regardless of how it evolves or its current state) inspired me to start building my own reusable components that I can easily use across different projects later on.

I’m also planning to focus on building e-commerce projects.

petar-gutic's avatar

petar-gutic wrote a comment+100 XP

3mos ago

@Wanti You can define multiple conditions inside the same function using logical operators like AND, OR, XOR, etc.

$filteredBooks = filter($books, function ($book) {
    return $book['releaseYear'] > 1950 && $book['releaseYear'] < 2000;
});
petar-gutic's avatar

petar-gutic wrote a comment+100 XP

3mos ago

@daedraheart

<?= $array['key1'] . $array['key2'] ?>

<?= ?> is simply a shorthand for <?php echo ?>, so it behaves the same when outputting expressions, including string concatenation.