3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(DateTime::createFromFormat("D M d H:i:s Y", "Wed Aug 2 08:37:50 2023")); var_dump(DateTime::createFromFormat("D M d H:i:s Y", "Wed Aug 16 08:37:50 2023")); var_dump(DateTime::createFromFormat("D M d H:i:s Y", "Wed Aug 2 08:37:50 2023")); var_dump(DateTime::createFromFormat("D M d H:i:s Y", "Wed Aug 16 08:37:50 2023"));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/IcBMe
function name:  (null)
number of ops:  29
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_STATIC_METHOD_CALL                                  'DateTime', 'createFromFormat'
          2        SEND_VAL                                                 'D+M+d+H%3Ai%3As+Y'
          3        SEND_VAL                                                 'Wed+Aug++2+08%3A37%3A50+2023'
          4        DO_FCALL                                      0  $0      
          5        SEND_VAR                                                 $0
          6        DO_ICALL                                                 
    4     7        INIT_FCALL                                               'var_dump'
          8        INIT_STATIC_METHOD_CALL                                  'DateTime', 'createFromFormat'
          9        SEND_VAL                                                 'D+M+d+H%3Ai%3As+Y'
         10        SEND_VAL                                                 'Wed+Aug+16+08%3A37%3A50+2023'
         11        DO_FCALL                                      0  $2      
         12        SEND_VAR                                                 $2
         13        DO_ICALL                                                 
    6    14        INIT_FCALL                                               'var_dump'
         15        INIT_STATIC_METHOD_CALL                                  'DateTime', 'createFromFormat'
         16        SEND_VAL                                                 'D+M++d+H%3Ai%3As+Y'
         17        SEND_VAL                                                 'Wed+Aug++2+08%3A37%3A50+2023'
         18        DO_FCALL                                      0  $4      
         19        SEND_VAR                                                 $4
         20        DO_ICALL                                                 
    7    21        INIT_FCALL                                               'var_dump'
         22        INIT_STATIC_METHOD_CALL                                  'DateTime', 'createFromFormat'
         23        SEND_VAL                                                 'D+M++d+H%3Ai%3As+Y'
         24        SEND_VAL                                                 'Wed+Aug+16+08%3A37%3A50+2023'
         25        DO_FCALL                                      0  $6      
         26        SEND_VAR                                                 $6
         27        DO_ICALL                                                 
         28      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
126.61 ms | 1010 KiB | 14 Q