3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = str_replace('0x', '', ' 0x54, 0x68, 0x65, 0x20, 0x64, 0x68, 0x6f, 0x6c, 0x65, 0x20, 0x28, 0x70, 0x72, 0x6f, 0x6e, 0x6f, 0x75, 0x6e, 0x63, 0x65, 0x64, 0x20, 0x22, 0x64, 0x6f, 0x6c, 0x65, 0x22, 0x29, 0x20, 0x69, 0x73, 0x20, 0x61, 0x6c, 0x73, 0x6f, 0x20, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x20, 0x61, 0x73, 0x20, 0x74, 0x68, 0x65, 0x20, 0x41, 0x73, 0x69, 0x61, 0x74, 0x69, 0x63, 0x20, 0x77, 0x69, 0x6c, 0x64, 0x20, 0x64, 0x6f, 0x67, 0x2c, 0x20, 0x72, 0x65, 0x64, 0x20, 0x64, 0x6f, 0x67, 0x2c, 0x20, 0x61, 0x6e, 0x64, 0x20, 0x77, 0x68, 0x69, 0x73, 0x74, 0x6c, 0x69, 0x6e, 0x67, 0x20, 0x64, 0x6f, 0x67, 0x2e, 0x20, 0x49, 0x74, 0x20, 0x69, 0x73, 0x20, 0x61, 0x62, 0x6f, 0x75, 0x74, 0x20, 0x74, 0x68, 0x65, 0x20, 0x73, 0x69, 0x7a, 0x65, 0x20, 0x6f, 0x66, 0x20, 0x61, 0x20, 0x47, 0x65, 0x72, 0x6d, 0x61, 0x6e, 0x20, 0x73, 0x68, 0x65, 0x70, 0x68, 0x65, 0x72, 0x64, 0x20, 0x62, 0x75, 0x74, 0x20, 0x6c, 0x6f, 0x6f, 0x6b, 0x73, 0x20, 0x6d, 0x6f, 0x72, 0x65, 0x20, 0x6c, 0x69, 0x6b, 0x65, 0x20, 0x61, 0x20, 0x6c, 0x6f, 0x6e, 0x67, 0x2d, 0x6c, 0x65, 0x67, 0x67, 0x65, 0x64, 0x20, 0x66, 0x6f, 0x78, 0x2e, 0x20, 0x54, 0x68, 0x69, 0x73, 0x20, 0x68, 0x69, 0x67, 0x68, 0x6c, 0x79, 0x20, 0x65, 0x6c, 0x75, 0x73, 0x69, 0x76, 0x65, 0x20, 0x61, 0x6e, 0x64, 0x20, 0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x65, 0x64, 0x20, 0x6a, 0x75, 0x6d, 0x70, 0x65, 0x72, 0x20, 0x69, 0x73, 0x20, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x65, 0x64, 0x20, 0x77, 0x69, 0x74, 0x68, 0x20, 0x77, 0x6f, 0x6c, 0x76, 0x65, 0x73, 0x2c, 0x20, 0x63, 0x6f, 0x79, 0x6f, 0x74, 0x65, 0x73, 0x2c, 0x20, 0x6a, 0x61, 0x63, 0x6b, 0x61, 0x6c, 0x73, 0x2c, 0x20, 0x61, 0x6e, 0x64, 0x20, 0x66, 0x6f, 0x78, 0x65, 0x73, 0x20, 0x69, 0x6e, 0x20, 0x74, 0x68, 0x65, 0x20, 0x74, 0x61, 0x78, 0x6f, 0x6e, 0x6f, 0x6d, 0x69, 0x63, 0x20, 0x66, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x20, 0x43, 0x61, 0x6e, 0x69, 0x64, 0x61, 0x65, 0x2e,'); $x = preg_replace('/[^0-9a-f]/', '', $x); echo hex2bin($x);

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.140.0140.00516.58
8.3.130.0090.00417.66
8.3.120.0100.00218.44
8.3.110.0110.00616.71
8.3.100.0090.00416.69
8.3.90.0120.00221.69
8.3.80.0130.00117.52
8.3.70.0110.00817.46
8.3.60.0130.00518.35
8.3.50.0110.00522.52
8.3.40.0120.00318.93
8.3.30.0070.00718.99
8.3.20.0080.00421.72
8.3.10.0060.00621.78
8.3.00.0050.00322.87
8.2.260.0030.00618.95
8.2.250.0070.00717.55
8.2.240.0060.00518.75
8.2.230.0140.00619.61
8.2.220.0050.00627.88
8.2.210.0050.00622.48
8.2.200.0090.00317.71
8.2.190.0120.00317.49
8.2.180.0110.00422.02
8.2.170.0120.00318.34
8.2.160.0100.00720.31
8.2.150.0100.00421.50
8.2.140.0100.00521.01
8.2.130.0060.00721.83
8.2.120.0050.00719.23
8.2.110.0090.00819.98
8.2.100.0120.00518.71
8.2.90.0130.00619.03
8.2.80.0120.00618.96
8.2.70.0130.00518.89
8.2.60.0130.00518.96
8.2.50.0150.00518.91
8.2.40.0120.00518.92
8.2.30.0130.00518.91
8.2.20.0100.00518.93
8.2.10.0120.00618.85
8.2.00.0120.00618.85
8.1.310.0130.00316.12
8.1.300.0120.00116.19
8.1.290.0090.00523.41
8.1.280.0120.00520.92
8.1.270.0140.00020.51
8.1.260.0070.00621.89
8.1.250.0110.00222.75
8.1.240.0060.00521.70
8.1.230.0060.00719.57
8.1.220.0120.00518.77
8.1.210.0120.00618.84
8.1.200.0130.00518.68
8.1.190.0130.00418.64
8.1.180.0120.00518.68
8.1.170.0120.00518.70
8.1.160.0120.00618.73
8.1.150.0120.00518.71
8.1.140.0120.00518.72
8.1.130.0120.00518.66
8.1.120.0120.00518.66
8.1.110.0120.00618.63
8.1.100.0120.00518.67
8.1.90.0100.00518.61
8.1.80.0110.00618.59
8.1.70.0110.00618.57
8.1.60.0120.00618.54
8.1.50.0130.00618.53
8.1.40.0120.00618.54
8.1.30.0130.00518.55
8.1.20.0130.00518.62
8.1.10.0130.00518.54
8.1.00.0130.00518.59
8.0.300.0070.00519.83
8.0.290.0120.00518.57
8.0.280.0130.00418.64
8.0.270.0120.00518.60
8.0.260.0130.00518.59
8.0.250.0110.00518.58
8.0.240.0120.00518.56
8.0.230.0140.00418.51
8.0.220.0120.00518.42
8.0.210.0110.00518.43
8.0.200.0130.00418.48
8.0.190.0120.00518.38
8.0.180.0130.00418.35
8.0.170.0110.00618.36
8.0.160.0110.00618.35
8.0.150.0110.00618.33
8.0.140.0110.00518.40
8.0.130.0120.00518.25
8.0.120.0120.00518.26
8.0.110.0110.00518.21
8.0.100.0120.00518.20
8.0.90.0110.00518.07
8.0.80.0110.00518.08
8.0.70.0120.00418.11
8.0.60.0120.00418.05
8.0.50.0110.00518.06
8.0.30.0110.00517.99
8.0.20.0100.00618.01
8.0.10.0110.00518.08
8.0.00.0090.00618.07
7.4.330.0100.00318.30
7.4.320.0120.00518.47
7.4.300.0110.00518.35
7.4.290.0110.00518.27
7.4.280.0120.00518.23
7.4.270.0120.00518.21
7.4.260.0110.00618.17
7.4.250.0120.00518.08
7.4.240.0130.00418.10
7.4.230.0120.00418.10
7.4.220.0110.00517.94
7.4.210.0110.00417.93
7.4.200.0100.00517.91
7.4.190.0100.00517.97
7.4.180.0120.00417.96
7.4.160.0110.00517.91
7.4.150.0110.00517.90
7.4.140.0110.00517.88
7.4.130.0110.00417.83
7.4.120.0110.00517.82
7.4.110.0110.00517.82
7.4.100.0110.00617.71
7.4.90.0100.00617.68
7.4.80.0110.00617.62
7.4.70.0110.00617.65
7.4.60.0120.00517.63
7.4.50.0110.00617.60
7.4.40.0100.00717.60
7.4.30.0120.00617.61
7.4.20.0110.00617.59
7.4.10.0100.00617.60
7.4.00.0100.00717.67
7.3.330.0110.00518.17
7.3.320.0100.00617.90
7.3.310.0110.00517.98
7.3.300.0120.00417.99
7.3.290.0120.00417.79
7.3.280.0100.00517.78
7.3.270.0110.00517.73
7.3.260.0110.00517.70
7.3.250.0100.00617.73
7.3.240.0120.00517.67
7.3.230.0110.00517.62
7.3.220.0110.00617.53
7.3.210.0110.00617.50
7.3.200.0110.00617.50
7.3.190.0130.00517.47
7.3.180.0110.00717.47
7.3.170.0120.00617.46
7.3.160.0120.00617.47
7.3.150.0110.00617.50
7.3.140.0120.00617.50
7.3.130.0120.00517.48
7.3.120.0110.00517.46
7.3.110.0120.00517.44
7.3.100.0120.00617.48
7.3.90.0110.00717.56
7.3.80.0120.00517.49
7.3.70.0110.00617.51
7.3.60.0120.00517.54
7.3.50.0120.00617.56
7.3.40.0120.00617.54
7.3.30.0110.00617.51
7.3.20.0140.00517.90
7.3.10.0130.00617.85
7.3.00.0120.00617.86
7.2.340.0120.00517.84
7.2.330.0110.00617.64
7.2.320.0120.00617.60
7.2.310.0120.00717.62
7.2.300.0120.00717.61
7.2.290.0120.00717.63
7.2.280.0120.00617.61
7.2.270.0120.00617.63
7.2.260.0120.00617.62
7.2.250.0100.00717.60
7.2.240.0120.00617.61
7.2.230.0110.00717.65
7.2.220.0110.00717.62
7.2.210.0120.00617.62
7.2.200.0120.00617.64
7.2.190.0130.00517.63
7.2.180.0120.00617.63
7.2.170.0110.00617.63
7.2.160.0100.00817.65
7.2.150.0140.00718.05
7.2.140.0140.00618.09
7.2.130.0140.00618.10
7.2.120.0140.00718.08
7.2.110.0140.00618.08
7.2.100.0130.00718.13
7.2.90.0130.00718.13
7.2.80.0150.00618.12
7.2.70.0120.00718.15
7.2.60.0130.00618.13
7.2.50.0130.00718.12
7.2.40.0160.00618.13
7.2.30.0130.00718.13
7.2.20.0130.00618.09
7.2.10.0140.00718.08
7.2.00.0130.00618.12

preferences:
37.27 ms | 403 KiB | 5 Q