3v4l.org

run code in 300+ PHP versions simultaneously
<?php //all uppercase letters print(strtoupper("the quick brown fox jumps over the lazy dog.\n")); //all lowercase letters print(strtolower("THE QUICK BROWN FOX JUMPS OVER THE LAZY DOG")); // make a string's first character uppercase print(ucfirst("the quick brown fox jumps over the lazy dog.")); // make a string's first character of all the words uppercase print(ucwords("the quick brown fox jumps over the lazy dog.")); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/0hd54
function name:  (null)
number of ops:  17
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'strtoupper'
          1        SEND_VAL                                                 'the+quick+brown+fox+jumps+over+the+lazy+dog.%0A'
          2        DO_ICALL                                         $0      
          3        ECHO                                                     $0
    5     4        INIT_FCALL                                               'strtolower'
          5        SEND_VAL                                                 'THE+QUICK+BROWN+FOX+JUMPS+OVER+THE+LAZY+DOG'
          6        DO_ICALL                                         $1      
          7        ECHO                                                     $1
    7     8        INIT_FCALL                                               'ucfirst'
          9        SEND_VAL                                                 'the+quick+brown+fox+jumps+over+the+lazy+dog.'
         10        DO_ICALL                                         $2      
         11        ECHO                                                     $2
    9    12        INIT_FCALL                                               'ucwords'
         13        SEND_VAL                                                 'the+quick+brown+fox+jumps+over+the+lazy+dog.'
         14        DO_ICALL                                         $3      
         15        ECHO                                                     $3
   10    16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.52 ms | 1394 KiB | 21 Q