Welcome to Our Code World

A world of code, closer than you think



We love to code, checkout our latest articles

We write tutorials and solutions for programming problems
October
21

How to handle safely PHP error: __toString() must not throw an exception

Learn how to solve the "__toString() must not throw an exception" error in PHP.

October
21

How to camelize and decamelize strings in JavaScript

Learn how to camelize and decamelize strings easily in JavaScript.

October
15

How to obfuscate JavaScript code with Node.js

Learn how to obfuscate some JS Code using the JavaScript Obfuscator library in Node.js

October
15

How the PHP functions "func_get_arg" and "func_get_args" changed from PHP 5.x to PHP 7.x

Learn why your current code that uses the func_get_arg function may end up with different results when upgrading from PHP 5.x to 7.x

October
14

How to change the Bootstrap Datetimepicker (by eonasdan) Display Orientation

Learn how to change the orientation of the widget shown by Bootstrap Datetimepicker.

October
12

How to print a variable if exists (not empty) with Twig using a shorthand syntax

Learn how to conditionally print a variable or some placeholder value if it's empty.

October
11

How to configure a file uploader for a single field (Doctrine Entity) in Symfony 3.3

Learn how to allow the upload of a file within a form created from a Doctrine Entity easily without moving the file manually in the controller on every action.

October
09

How to implement custom fonts in TCPDF

Learn how to use custom fonts for your PDF using the PHP TCPDF library.

October
07

What is the PHP Year 2038 (Y2K38) bug and how to solve it

Learn more about the Year 2038 Bug and know how to check if your PHP code is susceptible to it.

We have more !

Check the articles area, explore by categories or try searching for something.