<?php
$tables = [
'Address' => 'address',
'Agent' => 'agent',
'AgentType' => 'agent_type',
'BoughtServiceVariant' => 'bought_service_variant',
'Brigade' => 'brigade',
'Communication' => 'communication',
'CommunicationMessage' => 'communication_message',
'CommunicationRelation' => 'communication_relation',
'Company' => 'company',
'CompanyOffice' => 'company_office',
'companyoffice_contact' => 'company_office_contact',
'CompanyOwnership' => 'company_ownership',
'CompanySize' => 'company_size',
'CompanyType' => 'company_type',
'Contact' => 'contact',
'ContactType' => 'contact_type',
'Contract' => 'contract',
'Country' => 'country',
'Currency' => 'currency',
'DenyReason' => 'deny_reason',
'Duty' => 'duty',
'EducationLevel' => 'education_level',
'Event' => 'event',
'ExperienceLevel' => 'experience_level',
'Feedback' => 'feedback',
'FeedbackType' => 'feedback_type',
'Folder' => 'folder',
'FolderItem' => 'folder_item',
'Gender' => 'gender',
'Intro' => 'intro',
'IntroStep' => 'intro_step',
'Label' => 'label',
'Language' => 'language',
'LanguageLevel' => 'language_level',
'Location' => 'location',
'Notification' => 'notification',
'NotificationType' => 'notification_type',
'OpeningHours' => 'opening_hours',
'Page' => 'page',
'PageService' => 'page_service',
'PageUrlParameter' => 'page_url_parameter',
'Portfolio' => 'portfolio',
'PortfolioGroup' => 'portfolio_group',
'PortfolioItem' => 'portfolio_item',
'Profession' => 'profession',
'ReleaseState' => 'release_state',
'Resume' => 'resume',
'ResumeCertificate' => 'resume_certificate',
'ResumeEducation' => 'resume_education',
'ResumeExperience' => 'resume_experience',
'ResumeLanguage' => 'resume_language',
'ResumeSkill' => 'resume_skill',
'SearchInterval' => 'search_interval',
'Service' => 'service',
'ServiceCountry' => 'service_country',
'ServicePack' => 'service_pack',
'ServicePackPrice' => 'service_pack_price',
'servicepack_servicevariant' => 'service_pack_service_variant',
'ServicePrice' => 'service_price',
'ServiceVariant' => 'service_variant',
'Setting' => 'setting',
'SkillLevel' => 'skill_level',
'Specification' => 'specification',
'Test' => 'test',
'Tooltip' => 'tooltip',
'UsedServiceVariant' => 'used_service_variant',
'User' => 'user',
'UserRole' => 'user_role',
'user_userrole' => 'user_user_role',
'Vacancy' => 'vacancy',
'VacancyBlock' => 'vacancy_block',
'VisitLog' => 'visit_log',
'Voucher' => 'voucher',
'VoucherItem' => 'voucher_item',
'Widget' => 'widget',
'WidgetArea' => 'widget_area'
];
$data = [];
foreach ($tables as $old => $new) {
$data[] = "[\n\t'oldName' => '$old',\n\t'newName' => '$new'\n\t'columns' => [\n\t\t\n\t]";
}
echo implode(",\n", $data);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 3, Position 2 = 13
Branch analysis from position: 3
2 jumps found. (Code = 78) Position 1 = 4, Position 2 = 13
Branch analysis from position: 4
1 jumps found. (Code = 42) Position 1 = 3
Branch analysis from position: 3
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 13
filename: /in/WJbYg
function name: (null)
number of ops: 20
compiled vars: !0 = $tables, !1 = $data, !2 = $new, !3 = $old
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
3 0 E > ASSIGN !0, <array>
82 1 ASSIGN !1, <array>
83 2 > FE_RESET_R $6 !0, ->13
3 > > FE_FETCH_R ~7 $6, !2, ->13
4 > ASSIGN !3, ~7
84 5 ROPE_INIT 5 ~11 '%5B%0A%09%27oldName%27+%3D%3E+%27'
6 ROPE_ADD 1 ~11 ~11, !3
7 ROPE_ADD 2 ~11 ~11, '%27%2C%0A%09%27newName%27+%3D%3E+%27'
8 ROPE_ADD 3 ~11 ~11, !2
9 ROPE_END 4 ~10 ~11, '%27%0A%09%27columns%27+%3D%3E+%5B%0A%09%09%0A%09%5D'
10 ASSIGN_DIM !1
11 OP_DATA ~10
83 12 > JMP ->3
13 > FE_FREE $6
87 14 INIT_FCALL 'implode'
15 SEND_VAL '%2C%0A'
16 SEND_VAR !1
17 DO_ICALL $14
18 ECHO $14
19 > RETURN 1
Generated using Vulcan Logic Dumper, using php 8.0.0
preferences:
163.2 ms | 1395 KiB | 15 Q