3v4l.org

run code in 300+ PHP versions simultaneously
<?php $tables = [ [ 'oldName' => 'Address', 'newName' => 'address', ], [ 'oldName' => 'Agent', 'newName' => 'agent', ], [ 'oldName' => 'AgentType', 'newName' => 'agent_type', ], [ 'oldName' => 'BoughtServiceVariant', 'newName' => 'bought_service_variant', ], [ 'oldName' => 'Brigade', 'newName' => 'brigade', ], [ 'oldName' => 'Communication', 'newName' => 'communication', ], [ 'oldName' => 'CommunicationMessage', 'newName' => 'communication_message', ], [ 'oldName' => 'CommunicationRelation', 'newName' => 'communication_relation', ], [ 'oldName' => 'Company', 'newName' => 'company', ], [ 'oldName' => 'CompanyOffice', 'newName' => 'company_office', ], [ 'oldName' => 'companyoffice_contact', 'newName' => 'company_office_contact', ], [ 'oldName' => 'CompanyOwnership', 'newName' => 'company_ownership', ], [ 'oldName' => 'CompanySize', 'newName' => 'company_size', ], [ 'oldName' => 'CompanyType', 'newName' => 'company_type', ], [ 'oldName' => 'Contact', 'newName' => 'contact', ], [ 'oldName' => 'ContactType', 'newName' => 'contact_type', ], [ 'oldName' => 'Contract', 'newName' => 'contract', ], [ 'oldName' => 'Country', 'newName' => 'country', ], [ 'oldName' => 'Currency', 'newName' => 'currency', ], [ 'oldName' => 'DenyReason', 'newName' => 'deny_reason', ], [ 'oldName' => 'Duty', 'newName' => 'duty', ], [ 'oldName' => 'EducationLevel', 'newName' => 'education_level', ], [ 'oldName' => 'Event', 'newName' => 'event', ], [ 'oldName' => 'ExperienceLevel', 'newName' => 'experience_level', ], [ 'oldName' => 'Feedback', 'newName' => 'feedback', ], [ 'oldName' => 'FeedbackType', 'newName' => 'feedback_type', ], [ 'oldName' => 'Folder', 'newName' => 'folder', ], [ 'oldName' => 'FolderItem', 'newName' => 'folder_item', ], [ 'oldName' => 'Gender', 'newName' => 'gender', ], [ 'oldName' => 'Intro', 'newName' => 'intro', ], [ 'oldName' => 'IntroStep', 'newName' => 'intro_step', ], [ 'oldName' => 'Label', 'newName' => 'label', ], [ 'oldName' => 'Language', 'newName' => 'language', ], [ 'oldName' => 'LanguageLevel', 'newName' => 'language_level', ], [ 'oldName' => 'Location', 'newName' => 'location', ], [ 'oldName' => 'Notification', 'newName' => 'notification', ], [ 'oldName' => 'NotificationType', 'newName' => 'notification_type', ], [ 'oldName' => 'OpeningHours', 'newName' => 'opening_hours', ], [ 'oldName' => 'Page', 'newName' => 'page', ], [ 'oldName' => 'PageService', 'newName' => 'page_service', ], [ 'oldName' => 'PageUrlParameter', 'newName' => 'page_url_parameter', ], [ 'oldName' => 'Portfolio', 'newName' => 'portfolio', ], [ 'oldName' => 'PortfolioGroup', 'newName' => 'portfolio_group', ], [ 'oldName' => 'PortfolioItem', 'newName' => 'portfolio_item', ], [ 'oldName' => 'Profession', 'newName' => 'profession', ], [ 'oldName' => 'ReleaseState', 'newName' => 'release_state', ], [ 'oldName' => 'Resume', 'newName' => 'resume', ], [ 'oldName' => 'ResumeCertificate', 'newName' => 'resume_certificate', ], [ 'oldName' => 'ResumeEducation', 'newName' => 'resume_education', ], [ 'oldName' => 'ResumeExperience', 'newName' => 'resume_experience', ], [ 'oldName' => 'ResumeLanguage', 'newName' => 'resume_language', ], [ 'oldName' => 'ResumeSkill', 'newName' => 'resume_skill', ], [ 'oldName' => 'SearchInterval', 'newName' => 'search_interval', ], [ 'oldName' => 'Service', 'newName' => 'service', ], [ 'oldName' => 'ServiceCountry', 'newName' => 'service_country', ], [ 'oldName' => 'ServicePack', 'newName' => 'service_pack', ], [ 'oldName' => 'ServicePackPrice', 'newName' => 'service_pack_price', ], [ 'oldName' => 'servicepack_servicevariant', 'newName' => 'service_pack_service_variant', ], [ 'oldName' => 'ServicePrice', 'newName' => 'service_price', ], [ 'oldName' => 'ServiceVariant', 'newName' => 'service_variant', ], [ 'oldName' => 'Setting', 'newName' => 'setting', ], [ 'oldName' => 'SkillLevel', 'newName' => 'skill_level', ], [ 'oldName' => 'Specification', 'newName' => 'specification', ], [ 'oldName' => 'Test', 'newName' => 'test', ], [ 'oldName' => 'Tooltip', 'newName' => 'tooltip', ], [ 'oldName' => 'UsedServiceVariant', 'newName' => 'used_service_variant', ], [ 'oldName' => 'User', 'newName' => 'user', ], [ 'oldName' => 'UserRole', 'newName' => 'user_role', ], [ 'oldName' => 'user_userrole', 'newName' => 'user_user_role', ], [ 'oldName' => 'Vacancy', 'newName' => 'vacancy', ], [ 'oldName' => 'VacancyBlock', 'newName' => 'vacancy_block', ], [ 'oldName' => 'VisitLog', 'newName' => 'visit_log', ], [ 'oldName' => 'Voucher', 'newName' => 'voucher', ], [ 'oldName' => 'VoucherItem', 'newName' => 'voucher_item', ], [ 'oldName' => 'Widget', 'newName' => 'widget', ], [ 'oldName' => 'WidgetArea', 'newName' => 'widget_area', ] ]; $data = []; foreach ($tables as $table) { $data[] = "'$table[oldName]' => '$table[newName]'"; } echo implode(",\n", $data);

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
8.3.60.0000.01518.41
8.3.50.0160.00621.16
8.3.40.0040.01118.71
8.3.30.0090.00619.23
8.3.20.0040.00420.16
8.3.10.0070.00023.67
8.3.00.0040.00419.38
8.2.180.0090.00616.50
8.2.170.0100.00322.96
8.2.160.0070.00720.38
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0070.00026.16
8.2.120.0040.00422.25
8.2.110.0030.00720.38
8.2.100.0000.01418.09
8.2.90.0040.00419.22
8.2.80.0000.00817.97
8.2.70.0030.00617.75
8.2.60.0030.00518.04
8.2.50.0040.00418.07
8.2.40.0030.00519.93
8.2.30.0000.00718.19
8.2.20.0040.00417.94
8.2.10.0030.00518.15
8.2.00.0040.00417.73
8.1.280.0070.01125.92
8.1.270.0030.00623.96
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0040.00423.97
8.1.230.0080.00318.97
8.1.220.0080.00017.74
8.1.210.0000.00818.77
8.1.200.0030.00617.48
8.1.190.0040.00417.25
8.1.180.0040.00418.10
8.1.170.0000.01018.56
8.1.160.0040.00422.14
8.1.150.0040.00418.94
8.1.140.0070.00017.51
8.1.130.0030.00317.80
8.1.120.0070.00017.52
8.1.110.0000.00717.45
8.1.100.0040.00417.43
8.1.90.0000.00817.42
8.1.80.0040.00317.43
8.1.70.0080.00017.39
8.1.60.0030.00617.61
8.1.50.0040.00417.44
8.1.40.0030.00617.54
8.1.30.0030.00517.54
8.1.20.0040.00417.62
8.1.10.0000.00717.52
8.1.00.0000.00817.54
8.0.300.0070.00018.77
8.0.290.0040.00416.88
8.0.280.0040.00418.37
8.0.270.0040.00417.23
8.0.260.0050.00217.36
8.0.250.0070.00017.06
8.0.240.0030.00317.03
8.0.230.0040.00416.88
8.0.220.0070.00016.96
8.0.210.0000.00716.93
8.0.200.0000.00817.00
8.0.190.0040.00416.90
8.0.180.0040.00417.02
8.0.170.0000.00817.01
8.0.160.0070.00017.00
8.0.150.0040.00416.88
8.0.140.0050.00216.79
8.0.130.0030.00313.33
8.0.120.0000.00716.89
8.0.110.0050.00316.91
8.0.100.0000.00716.76
8.0.90.0040.00416.75
8.0.80.0040.01316.91
8.0.70.0070.00016.98
8.0.60.0040.00416.80
8.0.50.0050.00316.90
8.0.30.0090.01117.09
8.0.20.0120.00917.41
8.0.10.0000.00817.03
8.0.00.0090.01116.98
7.4.330.0000.00415.00
7.4.320.0030.00316.66
7.4.300.0000.00616.52
7.4.290.0050.00316.50
7.4.280.0030.00616.66
7.4.270.0030.00316.66
7.4.260.0070.00016.62
7.4.250.0050.00216.43
7.4.240.0050.00216.56
7.4.230.0030.00316.55
7.4.220.0150.01116.61
7.4.210.0110.00316.48
7.4.200.0000.00916.41
7.4.160.0100.01016.41
7.4.150.0040.01417.40
7.4.140.0150.00817.86
7.4.130.0090.00916.55
7.4.120.0060.01116.61
7.4.110.0090.01316.68
7.4.100.0040.01516.58
7.4.90.0070.01016.45
7.4.80.0070.01119.39
7.4.70.0160.00016.80
7.4.60.0060.01016.55
7.4.50.0000.00816.44
7.4.40.0120.00916.46
7.4.30.0110.00616.63
7.4.00.0030.01315.07
7.3.330.0050.00013.21
7.3.320.0030.00313.11
7.3.310.0040.00416.37
7.3.300.0070.00016.43
7.3.290.0060.00816.35
7.3.280.0070.00916.29
7.3.270.0030.01517.40
7.3.260.0130.00316.54
7.3.250.0110.00516.38
7.3.240.0170.00016.29
7.3.230.0110.01116.39
7.3.210.0140.00316.39
7.3.200.0060.01419.39
7.3.190.0160.00616.48
7.3.180.0000.01916.49
7.3.170.0100.00716.38
7.3.160.0080.00816.51
7.3.120.0070.01114.69
7.3.110.0100.01014.59
7.3.100.0110.00414.75
7.3.90.0060.00914.88
7.3.80.0000.00815.16
7.3.70.0110.00714.97
7.3.60.0120.00614.52
7.3.50.0060.00615.05
7.3.40.0060.00314.86
7.3.30.0070.00714.64
7.3.20.0080.00816.38
7.3.10.0070.00716.52
7.3.00.0090.00316.44
7.2.330.0150.00316.88
7.2.320.0160.00716.51
7.2.310.0110.01216.71
7.2.300.0060.01116.56
7.2.290.0100.01016.50
7.2.240.0100.01015.16
7.2.230.0160.00315.32
7.2.220.0060.00915.23
7.2.210.0060.00915.16
7.2.200.0030.01314.99
7.2.190.0090.00614.91
7.2.180.0070.01014.86
7.2.170.0040.01414.78
7.2.160.0000.01214.94
7.2.150.0070.01116.78
7.2.140.0030.00616.85
7.2.130.0030.01016.64
7.2.120.0070.00716.76
7.2.110.0090.00617.00
7.2.100.0030.01516.67
7.2.90.0110.00017.05
7.2.80.0030.01016.93
7.2.70.0060.00916.87
7.2.60.0060.00916.67
7.2.50.0120.00616.92
7.2.40.0030.01316.71
7.2.30.0040.01116.66
7.2.20.0030.01316.93
7.2.10.0070.01017.02
7.2.00.0000.01617.00
7.1.330.0030.01315.77
7.1.320.0060.00915.73
7.1.310.0040.01215.83
7.1.300.0040.01115.61
7.1.290.0060.00715.76
7.1.280.0080.00415.86
7.1.270.0090.00615.96
7.1.260.0070.00415.66
7.1.250.0040.01115.81
7.1.70.0000.00817.22
7.1.60.0000.01419.32
7.1.50.0070.01716.60
7.1.00.0000.07722.36
7.0.200.0040.00416.47
7.0.140.0030.07321.93
7.0.60.0130.05720.16
7.0.50.0000.05717.90
7.0.40.0070.08020.09
7.0.30.0300.06320.16
7.0.20.0330.07020.21
7.0.10.0130.08320.17
7.0.00.0070.03720.32
5.6.280.0030.07321.16
5.6.210.0100.03720.65
5.6.200.0070.05718.23
5.6.190.0070.06720.61
5.6.180.0270.05720.63
5.6.170.0400.05320.33
5.6.160.0100.05020.47
5.6.150.0170.06018.20
5.6.140.0100.08018.23
5.6.130.0170.02718.23
5.6.120.0170.07020.89
5.6.110.0100.08721.04
5.6.100.0070.08021.05
5.6.90.0070.04021.16
5.6.80.0070.04320.57
5.5.350.0070.08320.51
5.5.340.0170.04017.91
5.5.330.0070.08320.29
5.5.320.0400.05320.28
5.5.310.0270.05320.41
5.5.300.0070.06018.04
5.5.290.0030.07317.98
5.5.280.0100.06020.89
5.5.270.0170.07720.87
5.5.260.0070.04020.79
5.5.250.0100.07720.71
5.5.240.0070.04020.05
5.4.450.0230.05719.58
5.4.440.0170.06019.10
5.4.430.0300.04719.32
5.4.420.0630.00019.50
5.4.410.0630.00019.32
5.4.400.0600.00019.05
5.4.390.0630.00019.06
5.4.380.0670.00019.16
5.4.370.0700.00019.18
5.4.360.0600.00019.13
5.4.350.0630.00018.95
5.4.340.0050.03512.06
5.4.320.0050.03812.58
5.4.310.0080.03612.57
5.4.300.0060.03812.57
5.4.290.0080.04212.57
5.4.280.0070.03912.47
5.4.270.0040.03912.47
5.4.260.0060.04112.47
5.4.250.0110.04412.47
5.4.240.0080.03712.47
5.4.230.0070.03812.46
5.4.220.0100.03612.46
5.4.210.0080.03712.46
5.4.200.0060.03812.46
5.4.190.0030.03912.46
5.4.180.0070.03612.46
5.4.170.0050.03712.47
5.4.160.0060.04012.47
5.4.150.0050.04312.46
5.4.140.0040.03912.15
5.4.130.0100.04112.13
5.4.120.0090.03312.09
5.4.110.0050.04112.09
5.4.100.0090.03912.09
5.4.90.0060.03912.09
5.4.80.0070.03612.09
5.4.70.0070.03412.08
5.4.60.0110.03912.08
5.4.50.0050.03612.08
5.4.40.0060.04912.07
5.4.30.0070.03712.07
5.4.20.0040.03712.07
5.4.10.0070.03712.07
5.4.00.0020.04011.56
5.3.290.0060.04612.80
5.3.280.0060.04012.71
5.3.270.0080.03612.73
5.3.260.0050.04512.72
5.3.250.0050.03812.72
5.3.240.0070.04512.72
5.3.230.0040.04012.71
5.3.220.0080.03612.68
5.3.210.0050.04012.68
5.3.200.0080.04412.68
5.3.190.0090.04212.68
5.3.180.0040.03912.67
5.3.170.0080.03512.67
5.3.160.0060.04012.68
5.3.150.0060.03812.67
5.3.140.0070.03712.66
5.3.130.0050.04112.66
5.3.120.0050.04312.66
5.3.110.0060.04112.66
5.3.100.0070.03812.12
5.3.90.0070.03812.08
5.3.80.0090.03512.07
5.3.70.0070.03812.07
5.3.60.0080.03612.07
5.3.50.0060.03812.00
5.3.40.0040.03812.00
5.3.30.0060.04511.95
5.3.20.0030.03811.72
5.3.10.0070.03311.70
5.3.00.0050.03611.68
5.2.170.0040.0319.19
5.2.160.0070.0309.19
5.2.150.0050.0329.19
5.2.140.0060.0329.19
5.2.130.0050.0289.14
5.2.120.0040.0299.14
5.2.110.0070.0309.15
5.2.100.0070.0329.14
5.2.90.0040.0309.15
5.2.80.0050.0339.14
5.2.70.0050.0299.14
5.2.60.0080.0279.10
5.2.50.0070.0299.07
5.2.40.0040.0349.04
5.2.30.0060.0369.02
5.2.20.0040.0299.01
5.2.10.0070.0318.93
5.2.00.0030.0308.79
5.1.60.0040.0248.07
5.1.50.0050.0238.07
5.1.40.0040.0248.05
5.1.30.0040.0268.40
5.1.20.0050.0328.43
5.1.10.0040.0278.15
5.1.00.0080.0278.15
5.0.50.0070.0176.63
5.0.40.0040.0226.48
5.0.30.0040.0316.30
5.0.20.0050.0226.27
5.0.10.0060.0176.24
5.0.00.0050.0286.24
4.4.90.0030.0154.77
4.4.80.0050.0134.75
4.4.70.0020.0174.76
4.4.60.0020.0154.76
4.4.50.0030.0144.77
4.4.40.0050.0314.71
4.4.30.0040.0154.76
4.4.20.0020.0164.85
4.4.10.0030.0174.85
4.4.00.0010.0264.76
4.3.110.0020.0164.67
4.3.100.0040.0204.66
4.3.90.0040.0204.64
4.3.80.0030.0294.59
4.3.70.0010.0204.63
4.3.60.0020.0184.63
4.3.50.0040.0194.63
4.3.40.0010.0264.54
4.3.30.0010.0173.29
4.3.20.0040.0153.26
4.3.10.0040.0183.23
4.3.00.0030.0237.30

preferences:
47.57 ms | 401 KiB | 5 Q