Question from the PHP - Fundamentals test

Find the position of the word 'python' in the following string: '! QCM nohtyp wen eht tuo kcehC'

Medium

What is the value of the $pos variable after the following code is executed ?

$sentence = "! QCM nohtyp wen eht tuo kcehC";
$pos = strpos(strrev($sentence), "python");
Author: ThéoStatus: PublishedQuestion passed 112 times
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!