3v4l.org

run code in 300+ PHP versions simultaneously
<?php $php5620 = array ( 0 => 'Africa/Abidjan', 1 => 'Africa/Accra', 2 => 'Africa/Addis_Ababa', 3 => 'Africa/Algiers', 4 => 'Africa/Asmara', 5 => 'Africa/Bamako', 6 => 'Africa/Bangui', 7 => 'Africa/Banjul', 8 => 'Africa/Bissau', 9 => 'Africa/Blantyre', 10 => 'Africa/Brazzaville', 11 => 'Africa/Bujumbura', 12 => 'Africa/Cairo', 13 => 'Africa/Casablanca', 14 => 'Africa/Ceuta', 15 => 'Africa/Conakry', 16 => 'Africa/Dakar', 17 => 'Africa/Dar_es_Salaam', 18 => 'Africa/Djibouti', 19 => 'Africa/Douala', 20 => 'Africa/El_Aaiun', 21 => 'Africa/Freetown', 22 => 'Africa/Gaborone', 23 => 'Africa/Harare', 24 => 'Africa/Johannesburg', 25 => 'Africa/Juba', 26 => 'Africa/Kampala', 27 => 'Africa/Khartoum', 28 => 'Africa/Kigali', 29 => 'Africa/Kinshasa', 30 => 'Africa/Lagos', 31 => 'Africa/Libreville', 32 => 'Africa/Lome', 33 => 'Africa/Luanda', 34 => 'Africa/Lubumbashi', 35 => 'Africa/Lusaka', 36 => 'Africa/Malabo', 37 => 'Africa/Maputo', 38 => 'Africa/Maseru', 39 => 'Africa/Mbabane', 40 => 'Africa/Mogadishu', 41 => 'Africa/Monrovia', 42 => 'Africa/Nairobi', 43 => 'Africa/Ndjamena', 44 => 'Africa/Niamey', 45 => 'Africa/Nouakchott', 46 => 'Africa/Ouagadougou', 47 => 'Africa/Porto-Novo', 48 => 'Africa/Sao_Tome', 49 => 'Africa/Tripoli', 50 => 'Africa/Tunis', 51 => 'Africa/Windhoek', 52 => 'America/Adak', 53 => 'America/Anchorage', 54 => 'America/Anguilla', 55 => 'America/Antigua', 56 => 'America/Araguaina', 57 => 'America/Argentina/Buenos_Aires', 58 => 'America/Argentina/Catamarca', 59 => 'America/Argentina/Cordoba', 60 => 'America/Argentina/Jujuy', 61 => 'America/Argentina/La_Rioja', 62 => 'America/Argentina/Mendoza', 63 => 'America/Argentina/Rio_Gallegos', 64 => 'America/Argentina/Salta', 65 => 'America/Argentina/San_Juan', 66 => 'America/Argentina/San_Luis', 67 => 'America/Argentina/Tucuman', 68 => 'America/Argentina/Ushuaia', 69 => 'America/Aruba', 70 => 'America/Asuncion', 71 => 'America/Atikokan', 72 => 'America/Bahia', 73 => 'America/Bahia_Banderas', 74 => 'America/Barbados', 75 => 'America/Belem', 76 => 'America/Belize', 77 => 'America/Blanc-Sablon', 78 => 'America/Boa_Vista', 79 => 'America/Bogota', 80 => 'America/Boise', 81 => 'America/Cambridge_Bay', 82 => 'America/Campo_Grande', 83 => 'America/Cancun', 84 => 'America/Caracas', 85 => 'America/Cayenne', 86 => 'America/Cayman', 87 => 'America/Chicago', 88 => 'America/Chihuahua', 89 => 'America/Costa_Rica', 90 => 'America/Creston', 91 => 'America/Cuiaba', 92 => 'America/Curacao', 93 => 'America/Danmarkshavn', 94 => 'America/Dawson', 95 => 'America/Dawson_Creek', 96 => 'America/Denver', 97 => 'America/Detroit', 98 => 'America/Dominica', 99 => 'America/Edmonton', 100 => 'America/Eirunepe', 101 => 'America/El_Salvador', 102 => 'America/Fort_Nelson', 103 => 'America/Fortaleza', 104 => 'America/Glace_Bay', 105 => 'America/Godthab', 106 => 'America/Goose_Bay', 107 => 'America/Grand_Turk', 108 => 'America/Grenada', 109 => 'America/Guadeloupe', 110 => 'America/Guatemala', 111 => 'America/Guayaquil', 112 => 'America/Guyana', 113 => 'America/Halifax', 114 => 'America/Havana', 115 => 'America/Hermosillo', 116 => 'America/Indiana/Indianapolis', 117 => 'America/Indiana/Knox', 118 => 'America/Indiana/Marengo', 119 => 'America/Indiana/Petersburg', 120 => 'America/Indiana/Tell_City', 121 => 'America/Indiana/Vevay', 122 => 'America/Indiana/Vincennes', 123 => 'America/Indiana/Winamac', 124 => 'America/Inuvik', 125 => 'America/Iqaluit', 126 => 'America/Jamaica', 127 => 'America/Juneau', 128 => 'America/Kentucky/Louisville', 129 => 'America/Kentucky/Monticello', 130 => 'America/Kralendijk', 131 => 'America/La_Paz', 132 => 'America/Lima', 133 => 'America/Los_Angeles', 134 => 'America/Lower_Princes', 135 => 'America/Maceio', 136 => 'America/Managua', 137 => 'America/Manaus', 138 => 'America/Marigot', 139 => 'America/Martinique', 140 => 'America/Matamoros', 141 => 'America/Mazatlan', 142 => 'America/Menominee', 143 => 'America/Merida', 144 => 'America/Metlakatla', 145 => 'America/Mexico_City', 146 => 'America/Miquelon', 147 => 'America/Moncton', 148 => 'America/Monterrey', 149 => 'America/Montevideo', 150 => 'America/Montserrat', 151 => 'America/Nassau', 152 => 'America/New_York', 153 => 'America/Nipigon', 154 => 'America/Nome', 155 => 'America/Noronha', 156 => 'America/North_Dakota/Beulah', 157 => 'America/North_Dakota/Center', 158 => 'America/North_Dakota/New_Salem', 159 => 'America/Ojinaga', 160 => 'America/Panama', 161 => 'America/Pangnirtung', 162 => 'America/Paramaribo', 163 => 'America/Phoenix', 164 => 'America/Port-au-Prince', 165 => 'America/Port_of_Spain', 166 => 'America/Porto_Velho', 167 => 'America/Puerto_Rico', 168 => 'America/Rainy_River', 169 => 'America/Rankin_Inlet', 170 => 'America/Recife', 171 => 'America/Regina', 172 => 'America/Resolute', 173 => 'America/Rio_Branco', 174 => 'America/Santarem', 175 => 'America/Santiago', 176 => 'America/Santo_Domingo', 177 => 'America/Sao_Paulo', 178 => 'America/Scoresbysund', 179 => 'America/Sitka', 180 => 'America/St_Barthelemy', 181 => 'America/St_Johns', 182 => 'America/St_Kitts', 183 => 'America/St_Lucia', 184 => 'America/St_Thomas', 185 => 'America/St_Vincent', 186 => 'America/Swift_Current', 187 => 'America/Tegucigalpa', 188 => 'America/Thule', 189 => 'America/Thunder_Bay', 190 => 'America/Tijuana', 191 => 'America/Toronto', 192 => 'America/Tortola', 193 => 'America/Vancouver', 194 => 'America/Whitehorse', 195 => 'America/Winnipeg', 196 => 'America/Yakutat', 197 => 'America/Yellowknife', 198 => 'Antarctica/Casey', 199 => 'Antarctica/Davis', 200 => 'Antarctica/DumontDUrville', 201 => 'Antarctica/Macquarie', 202 => 'Antarctica/Mawson', 203 => 'Antarctica/McMurdo', 204 => 'Antarctica/Palmer', 205 => 'Antarctica/Rothera', 206 => 'Antarctica/Syowa', 207 => 'Antarctica/Troll', 208 => 'Antarctica/Vostok', 209 => 'Arctic/Longyearbyen', 210 => 'Asia/Aden', 211 => 'Asia/Almaty', 212 => 'Asia/Amman', 213 => 'Asia/Anadyr', 214 => 'Asia/Aqtau', 215 => 'Asia/Aqtobe', 216 => 'Asia/Ashgabat', 217 => 'Asia/Baghdad', 218 => 'Asia/Bahrain', 219 => 'Asia/Baku', 220 => 'Asia/Bangkok', 221 => 'Asia/Barnaul', 222 => 'Asia/Beirut', 223 => 'Asia/Bishkek', 224 => 'Asia/Brunei', 225 => 'Asia/Chita', 226 => 'Asia/Choibalsan', 227 => 'Asia/Colombo', 228 => 'Asia/Damascus', 229 => 'Asia/Dhaka', 230 => 'Asia/Dili', 231 => 'Asia/Dubai', 232 => 'Asia/Dushanbe', 233 => 'Asia/Gaza', 234 => 'Asia/Hebron', 235 => 'Asia/Ho_Chi_Minh', 236 => 'Asia/Hong_Kong', 237 => 'Asia/Hovd', 238 => 'Asia/Irkutsk', 239 => 'Asia/Jakarta', 240 => 'Asia/Jayapura', 241 => 'Asia/Jerusalem', 242 => 'Asia/Kabul', 243 => 'Asia/Kamchatka', 244 => 'Asia/Karachi', 245 => 'Asia/Kathmandu', 246 => 'Asia/Khandyga', 247 => 'Asia/Kolkata', 248 => 'Asia/Krasnoyarsk', 249 => 'Asia/Kuala_Lumpur', 250 => 'Asia/Kuching', 251 => 'Asia/Kuwait', 252 => 'Asia/Macau', 253 => 'Asia/Magadan', 254 => 'Asia/Makassar', 255 => 'Asia/Manila', 256 => 'Asia/Muscat', 257 => 'Asia/Nicosia', 258 => 'Asia/Novokuznetsk', 259 => 'Asia/Novosibirsk', 260 => 'Asia/Omsk', 261 => 'Asia/Oral', 262 => 'Asia/Phnom_Penh', 263 => 'Asia/Pontianak', 264 => 'Asia/Pyongyang', 265 => 'Asia/Qatar', 266 => 'Asia/Qyzylorda', 267 => 'Asia/Rangoon', 268 => 'Asia/Riyadh', 269 => 'Asia/Sakhalin', 270 => 'Asia/Samarkand', 271 => 'Asia/Seoul', 272 => 'Asia/Shanghai', 273 => 'Asia/Singapore', 274 => 'Asia/Srednekolymsk', 275 => 'Asia/Taipei', 276 => 'Asia/Tashkent', 277 => 'Asia/Tbilisi', 278 => 'Asia/Tehran', 279 => 'Asia/Thimphu', 280 => 'Asia/Tokyo', 281 => 'Asia/Ulaanbaatar', 282 => 'Asia/Urumqi', 283 => 'Asia/Ust-Nera', 284 => 'Asia/Vientiane', 285 => 'Asia/Vladivostok', 286 => 'Asia/Yakutsk', 287 => 'Asia/Yekaterinburg', 288 => 'Asia/Yerevan', 289 => 'Atlantic/Azores', 290 => 'Atlantic/Bermuda', 291 => 'Atlantic/Canary', 292 => 'Atlantic/Cape_Verde', 293 => 'Atlantic/Faroe', 294 => 'Atlantic/Madeira', 295 => 'Atlantic/Reykjavik', 296 => 'Atlantic/South_Georgia', 297 => 'Atlantic/St_Helena', 298 => 'Atlantic/Stanley', 299 => 'Australia/Adelaide', 300 => 'Australia/Brisbane', 301 => 'Australia/Broken_Hill', 302 => 'Australia/Currie', 303 => 'Australia/Darwin', 304 => 'Australia/Eucla', 305 => 'Australia/Hobart', 306 => 'Australia/Lindeman', 307 => 'Australia/Lord_Howe', 308 => 'Australia/Melbourne', 309 => 'Australia/Perth', 310 => 'Australia/Sydney', 311 => 'Europe/Amsterdam', 312 => 'Europe/Andorra', 313 => 'Europe/Astrakhan', 314 => 'Europe/Athens', 315 => 'Europe/Belgrade', 316 => 'Europe/Berlin', 317 => 'Europe/Bratislava', 318 => 'Europe/Brussels', 319 => 'Europe/Bucharest', 320 => 'Europe/Budapest', 321 => 'Europe/Busingen', 322 => 'Europe/Chisinau', 323 => 'Europe/Copenhagen', 324 => 'Europe/Dublin', 325 => 'Europe/Gibraltar', 326 => 'Europe/Guernsey', 327 => 'Europe/Helsinki', 328 => 'Europe/Isle_of_Man', 329 => 'Europe/Istanbul', 330 => 'Europe/Jersey', 331 => 'Europe/Kaliningrad', 332 => 'Europe/Kiev', 333 => 'Europe/Lisbon', 334 => 'Europe/Ljubljana', 335 => 'Europe/London', 336 => 'Europe/Luxembourg', 337 => 'Europe/Madrid', 338 => 'Europe/Malta', 339 => 'Europe/Mariehamn', 340 => 'Europe/Minsk', 341 => 'Europe/Monaco', 342 => 'Europe/Moscow', 343 => 'Europe/Oslo', 344 => 'Europe/Paris', 345 => 'Europe/Podgorica', 346 => 'Europe/Prague', 347 => 'Europe/Riga', 348 => 'Europe/Rome', 349 => 'Europe/Samara', 350 => 'Europe/San_Marino', 351 => 'Europe/Sarajevo', 352 => 'Europe/Simferopol', 353 => 'Europe/Skopje', 354 => 'Europe/Sofia', 355 => 'Europe/Stockholm', 356 => 'Europe/Tallinn', 357 => 'Europe/Tirane', 358 => 'Europe/Ulyanovsk', 359 => 'Europe/Uzhgorod', 360 => 'Europe/Vaduz', 361 => 'Europe/Vatican', 362 => 'Europe/Vienna', 363 => 'Europe/Vilnius', 364 => 'Europe/Volgograd', 365 => 'Europe/Warsaw', 366 => 'Europe/Zagreb', 367 => 'Europe/Zaporozhye', 368 => 'Europe/Zurich', 369 => 'Indian/Antananarivo', 370 => 'Indian/Chagos', 371 => 'Indian/Christmas', 372 => 'Indian/Cocos', 373 => 'Indian/Comoro', 374 => 'Indian/Kerguelen', 375 => 'Indian/Mahe', 376 => 'Indian/Maldives', 377 => 'Indian/Mauritius', 378 => 'Indian/Mayotte', 379 => 'Indian/Reunion', 380 => 'Pacific/Apia', 381 => 'Pacific/Auckland', 382 => 'Pacific/Bougainville', 383 => 'Pacific/Chatham', 384 => 'Pacific/Chuuk', 385 => 'Pacific/Easter', 386 => 'Pacific/Efate', 387 => 'Pacific/Enderbury', 388 => 'Pacific/Fakaofo', 389 => 'Pacific/Fiji', 390 => 'Pacific/Funafuti', 391 => 'Pacific/Galapagos', 392 => 'Pacific/Gambier', 393 => 'Pacific/Guadalcanal', 394 => 'Pacific/Guam', 395 => 'Pacific/Honolulu', 396 => 'Pacific/Johnston', 397 => 'Pacific/Kiritimati', 398 => 'Pacific/Kosrae', 399 => 'Pacific/Kwajalein', 400 => 'Pacific/Majuro', 401 => 'Pacific/Marquesas', 402 => 'Pacific/Midway', 403 => 'Pacific/Nauru', 404 => 'Pacific/Niue', 405 => 'Pacific/Norfolk', 406 => 'Pacific/Noumea', 407 => 'Pacific/Pago_Pago', 408 => 'Pacific/Palau', 409 => 'Pacific/Pitcairn', 410 => 'Pacific/Pohnpei', 411 => 'Pacific/Port_Moresby', 412 => 'Pacific/Rarotonga', 413 => 'Pacific/Saipan', 414 => 'Pacific/Tahiti', 415 => 'Pacific/Tarawa', 416 => 'Pacific/Tongatapu', 417 => 'Pacific/Wake', 418 => 'Pacific/Wallis', 419 => 'UTC', ); $php820 = timezone_identifiers_list(); var_dump(array_diff($php820, $php5620)); var_dump(array_diff($php5620, $php820));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ro1vY
function name:  (null)
number of ops:  19
compiled vars:  !0 = $php5620, !1 = $php820
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    4     1        INIT_FCALL                                               'timezone_identifiers_list'
          2        DO_ICALL                                         $3      
          3        ASSIGN                                                   !1, $3
    6     4        INIT_FCALL                                               'var_dump'
          5        INIT_FCALL                                               'array_diff'
          6        SEND_VAR                                                 !1
          7        SEND_VAR                                                 !0
          8        DO_ICALL                                         $5      
          9        SEND_VAR                                                 $5
         10        DO_ICALL                                                 
    7    11        INIT_FCALL                                               'var_dump'
         12        INIT_FCALL                                               'array_diff'
         13        SEND_VAR                                                 !0
         14        SEND_VAR                                                 !1
         15        DO_ICALL                                         $7      
         16        SEND_VAR                                                 $7
         17        DO_ICALL                                                 
         18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.06 ms | 1460 KiB | 16 Q