Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 13
Branch analysis from position: 13
2 jumps found. (Code = 44) Position 1 = 16, Position 2 = 11
Branch analysis from position: 16
1 jumps found. (Code = 42) Position 1 = 33
Branch analysis from position: 33
2 jumps found. (Code = 44) Position 1 = 36, Position 2 = 31
Branch analysis from position: 36
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 31
2 jumps found. (Code = 44) Position 1 = 36, Position 2 = 31
Branch analysis from position: 36
Branch analysis from position: 31
Branch analysis from position: 11
2 jumps found. (Code = 44) Position 1 = 16, Position 2 = 11
Branch analysis from position: 16
Branch analysis from position: 11
filename: /in/CD9MQ
function name: (null)
number of ops: 55
compiled vars: !0 = $its, !1 = $t, !2 = $i, !3 = $old, !4 = $new
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
111 0 E > INIT_FCALL 'determine_locale_proposed'
1 DO_FCALL 0
112 2 INIT_FCALL 'determine_locale_proposed_v2'
3 DO_FCALL 0
114 4 ASSIGN !0, 100000
115 5 INIT_FCALL 'hrtime'
6 SEND_VAL <true>
7 DO_ICALL $8
8 ASSIGN !1, $8
116 9 ASSIGN !2, 0
10 > JMP ->13
117 11 > INIT_FCALL 'determine_locale_proposed'
12 DO_FCALL 0
116 13 > POST_INC ~12 !2
14 IS_SMALLER ~12, !0
15 > JMPNZ ~13, ->11
118 16 > ECHO 'proposed+++%3A+'
17 INIT_FCALL 'hrtime'
18 SEND_VAL <true>
19 DO_ICALL $14
20 SUB ~15 $14, !1
21 DIV ~16 ~15, 1.0e+9
22 ASSIGN ~17 !3, ~16
23 ECHO ~17
24 ECHO 's%0A'
120 25 INIT_FCALL 'hrtime'
26 SEND_VAL <true>
27 DO_ICALL $18
28 ASSIGN !1, $18
121 29 ASSIGN !2, 0
30 > JMP ->33
122 31 > INIT_FCALL 'determine_locale_proposed_v2'
32 DO_FCALL 0
121 33 > POST_INC ~22 !2
34 IS_SMALLER ~22, !0
35 > JMPNZ ~23, ->31
123 36 > ECHO 'proposed+v2%3A+'
37 INIT_FCALL 'hrtime'
38 SEND_VAL <true>
39 DO_ICALL $24
40 SUB ~25 $24, !1
41 DIV ~26 ~25, 1.0e+9
42 ASSIGN ~27 !4, ~26
43 ECHO ~27
44 ECHO 's%0A%0A'
125 45 INIT_FCALL 'printf'
46 SEND_VAL 'Proposed+v2+is+%25sx+faster'
47 INIT_FCALL 'number_format'
48 DIV ~28 !3, !4
49 SEND_VAL ~28
50 SEND_VAL 2
51 DO_ICALL $29
52 SEND_VAR $29
53 DO_ICALL
54 > RETURN 1
Function is_admin:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/CD9MQ
function name: is_admin
number of ops: 2
compiled vars: none
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
4 0 E > > RETURN <true>
5 1* > RETURN null
End of function is_admin
Function wp_is_json_request:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/CD9MQ
function name: wp_is_json_request
number of ops: 2
compiled vars: none
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
7 0 E > > RETURN <false>
8 1* > RETURN null
End of function wp_is_json_request
Function get_locale:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/CD9MQ
function name: get_locale
number of ops: 2
compiled vars: none
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
11 0 E > > RETURN 'en_US'
12 1* > RETURN null
End of function get_locale
Function get_user_locale:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/CD9MQ
function name: get_user_locale
number of ops: 2
compiled vars: none
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
14 0 E > > RETURN 'en_US'
15 1* > RETURN null
End of function get_user_locale
Function apply_filters:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/CD9MQ
function name: apply_filters
number of ops: 4
compiled vars: !0 = $a, !1 = $b
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
16 0 E > RECV !0
1 RECV !1
17 2 > RETURN !1
18 3* > RETURN null
End of function apply_filters
Function sanitize_locale_name:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/CD9MQ
function name: sanitize_locale_name
number of ops: 3
compiled vars: !0 = $a
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
19 0 E > RECV !0
20 1 > RETURN !0
21 2* > RETURN null
End of function sanitize_locale_name
Function determine_locale_proposed:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 6, Position 2 = 8
Branch analysis from position: 6
2 jumps found. (Code = 43) Position 1 = 9, Position 2 = 10
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 10
2 jumps found. (Code = 47) Position 1 = 13, Position 2 = 25
Branch analysis from position: 13
2 jumps found. (Code = 46) Position 1 = 16, Position 2 = 20
Branch analysis from position: 16
2 jumps found. (Code = 46) Position 1 = 21, Position 2 = 24
Branch analysis from position: 21
2 jumps found. (Code = 43) Position 1 = 26, Position 2 = 30
Branch analysis from position: 26
1 jumps found. (Code = 42) Position 1 = 33
Branch analysis from position: 33
2 jumps found. (Code = 46) Position 1 = 35, Position 2 = 38
Branch analysis from position: 35
2 jumps found. (Code = 43) Position 1 = 39, Position 2 = 64
Branch analysis from position: 39
2 jumps found. (Code = 43) Position 1 = 43, Position 2 = 52
Branch analysis from position: 43
1 jumps found. (Code = 42) Position 1 = 64
Branch analysis from position: 64
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 52
2 jumps found. (Code = 43) Position 1 = 56, Position 2 = 64
Branch analysis from position: 56
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 64
Branch analysis from position: 64
Branch analysis from position: 38
Branch analysis from position: 30
2 jumps found. (Code = 46) Position 1 = 35, Position 2 = 38
Branch analysis from position: 35
Branch analysis from position: 38
Branch analysis from position: 24
Branch analysis from position: 20
Branch analysis from position: 25
Branch analysis from position: 8
filename: /in/CD9MQ
function name: determine_locale_proposed
number of ops: 70
compiled vars: !0 = $determined_locale
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
33 0 E > INIT_FCALL 'apply_filters'
1 SEND_VAL 'pre_determine_locale'
2 SEND_VAL null
3 DO_FCALL 0 $1
4 ASSIGN !0, $1
35 5 > JMPZ_EX ~3 !0, ->8
6 > TYPE_CHECK 64 ~4 !0
7 BOOL ~3 ~4
8 > > JMPZ ~3, ->10
36 9 > > RETURN !0
40 10 > INIT_FCALL 'is_admin'
11 DO_FCALL 0 $5
12 > JMPNZ_EX ~6 $5, ->25
41 13 > FETCH_IS ~7 '_GET'
14 ISSET_ISEMPTY_DIM_OBJ 0 ~8 ~7, '_locale'
15 > JMPZ_EX ~8 ~8, ->20
16 > FETCH_R global ~9 '_GET'
17 FETCH_DIM_R ~10 ~9, '_locale'
18 IS_IDENTICAL ~11 ~10, 'user'
19 BOOL ~8 ~11
20 > > JMPZ_EX ~8 ~8, ->24
21 > INIT_FCALL 'wp_is_json_request'
22 DO_FCALL 0 $12
23 BOOL ~8 $12
24 > BOOL ~6 ~8
25 > > JMPZ ~6, ->30
43 26 > INIT_FCALL 'get_user_locale'
27 DO_FCALL 0 $13
28 ASSIGN !0, $13
40 29 > JMP ->33
45 30 > INIT_FCALL 'get_locale'
31 DO_FCALL 0 $15
32 ASSIGN !0, $15
48 33 > ISSET_ISEMPTY_VAR 2 ~17 'pagenow'
34 > JMPZ_EX ~17 ~17, ->38
35 > FETCH_R global ~18 'pagenow'
36 IS_IDENTICAL ~19 ~18, 'wp-login.php'
37 BOOL ~17 ~19
38 > > JMPZ ~17, ->64
49 39 > FETCH_IS ~20 '_GET'
40 ISSET_ISEMPTY_DIM_OBJ 1 ~21 ~20, 'wp_lang'
41 BOOL_NOT ~22 ~21
42 > JMPZ ~22, ->52
50 43 > INIT_FCALL 'sanitize_locale_name'
44 FETCH_R global ~23 '_GET'
45 FETCH_DIM_R ~24 ~23, 'wp_lang'
46 SEND_VAL ~24
47 DO_FCALL 0 $25
48 JMP_SET ~26 $25, ->50
49 QM_ASSIGN ~26 !0
50 ASSIGN !0, ~26
49 51 > JMP ->64
51 52 > FETCH_IS ~28 '_COOKIE'
53 ISSET_ISEMPTY_DIM_OBJ 1 ~29 ~28, 'wp_lang'
54 BOOL_NOT ~30 ~29
55 > JMPZ ~30, ->64
52 56 > INIT_FCALL 'sanitize_locale_name'
57 FETCH_R global ~31 '_COOKIE'
58 FETCH_DIM_R ~32 ~31, 'wp_lang'
59 SEND_VAL ~32
60 DO_FCALL 0 $33
61 JMP_SET ~34 $33, ->63
62 QM_ASSIGN ~34 !0
63 ASSIGN !0, ~34
63 64 > INIT_FCALL 'apply_filters'
65 SEND_VAL 'determine_locale'
66 SEND_VAR !0
67 DO_FCALL 0 $36
68 > RETURN $36
64 69* > RETURN null
End of function determine_locale_proposed
Function determine_locale_proposed_v2:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 6, Position 2 = 8
Branch analysis from position: 6
2 jumps found. (Code = 43) Position 1 = 9, Position 2 = 10
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 10
2 jumps found. (Code = 46) Position 1 = 12, Position 2 = 15
Branch analysis from position: 12
2 jumps found. (Code = 43) Position 1 = 16, Position 2 = 37
Branch analysis from position: 16
2 jumps found. (Code = 43) Position 1 = 20, Position 2 = 27
Branch analysis from position: 20
1 jumps found. (Code = 42) Position 1 = 37
Branch analysis from position: 37
2 jumps found. (Code = 43) Position 1 = 39, Position 2 = 62
Branch analysis from position: 39
2 jumps found. (Code = 47) Position 1 = 42, Position 2 = 54
Branch analysis from position: 42
2 jumps found. (Code = 46) Position 1 = 45, Position 2 = 49
Branch analysis from position: 45
2 jumps found. (Code = 46) Position 1 = 50, Position 2 = 53
Branch analysis from position: 50
2 jumps found. (Code = 43) Position 1 = 55, Position 2 = 59
Branch analysis from position: 55
1 jumps found. (Code = 42) Position 1 = 62
Branch analysis from position: 62
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 59
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 53
Branch analysis from position: 49
Branch analysis from position: 54
Branch analysis from position: 62
Branch analysis from position: 27
2 jumps found. (Code = 43) Position 1 = 31, Position 2 = 37
Branch analysis from position: 31
2 jumps found. (Code = 43) Position 1 = 39, Position 2 = 62
Branch analysis from position: 39
Branch analysis from position: 62
Branch analysis from position: 37
Branch analysis from position: 37
Branch analysis from position: 15
Branch analysis from position: 8
filename: /in/CD9MQ
function name: determine_locale_proposed_v2
number of ops: 68
compiled vars: !0 = $determined_locale
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
76 0 E > INIT_FCALL 'apply_filters'
1 SEND_VAL 'pre_determine_locale'
2 SEND_VAL null
3 DO_FCALL 0 $1
4 ASSIGN !0, $1
78 5 > JMPZ_EX ~3 !0, ->8
6 > TYPE_CHECK 64 ~4 !0
7 BOOL ~3 ~4
8 > > JMPZ ~3, ->10
79 9 > > RETURN !0
82 10 > ISSET_ISEMPTY_VAR 2 ~5 'pagenow'
11 > JMPZ_EX ~5 ~5, ->15
12 > FETCH_R global ~6 'pagenow'
13 IS_IDENTICAL ~7 ~6, 'wp-login.php'
14 BOOL ~5 ~7
15 > > JMPZ ~5, ->37
83 16 > FETCH_IS ~8 '_GET'
17 ISSET_ISEMPTY_DIM_OBJ 1 ~9 ~8, 'wp_lang'
18 BOOL_NOT ~10 ~9
19 > JMPZ ~10, ->27
84 20 > INIT_FCALL 'sanitize_locale_name'
21 FETCH_R global ~11 '_GET'
22 FETCH_DIM_R ~12 ~11, 'wp_lang'
23 SEND_VAL ~12
24 DO_FCALL 0 $13
25 ASSIGN !0, $13
83 26 > JMP ->37
85 27 > FETCH_IS ~15 '_COOKIE'
28 ISSET_ISEMPTY_DIM_OBJ 1 ~16 ~15, 'wp_lang'
29 BOOL_NOT ~17 ~16
30 > JMPZ ~17, ->37
86 31 > INIT_FCALL 'sanitize_locale_name'
32 FETCH_R global ~18 '_COOKIE'
33 FETCH_DIM_R ~19 ~18, 'wp_lang'
34 SEND_VAL ~19
35 DO_FCALL 0 $20
36 ASSIGN !0, $20
90 37 > BOOL_NOT ~22 !0
38 > JMPZ ~22, ->62
92 39 > INIT_FCALL 'is_admin'
40 DO_FCALL 0 $23
41 > JMPNZ_EX ~24 $23, ->54
93 42 > FETCH_IS ~25 '_GET'
43 ISSET_ISEMPTY_DIM_OBJ 0 ~26 ~25, '_locale'
44 > JMPZ_EX ~26 ~26, ->49
45 > FETCH_R global ~27 '_GET'
46 FETCH_DIM_R ~28 ~27, '_locale'
47 IS_IDENTICAL ~29 ~28, 'user'
48 BOOL ~26 ~29
49 > > JMPZ_EX ~26 ~26, ->53
50 > INIT_FCALL 'wp_is_json_request'
51 DO_FCALL 0 $30
52 BOOL ~26 $30
53 > BOOL ~24 ~26
54 > > JMPZ ~24, ->59
95 55 > INIT_FCALL 'get_user_locale'
56 DO_FCALL 0 $31
57 ASSIGN !0, $31
92 58 > JMP ->62
97 59 > INIT_FCALL 'get_locale'
60 DO_FCALL 0 $33
61 ASSIGN !0, $33
108 62 > INIT_FCALL 'apply_filters'
63 SEND_VAL 'determine_locale'
64 SEND_VAR !0
65 DO_FCALL 0 $35
66 > RETURN $35
109 67* > RETURN null
End of function determine_locale_proposed_v2
Generated using Vulcan Logic Dumper, using php 8.0.0