3v4l.org

run code in 300+ PHP versions simultaneously
<?php $exif = array ( 'FileName' => 'Jazz-auf-dem-Trammplatz.jpg', 'FileDateTime' => 0, 'FileSize' => 581770, 'FileType' => 2, 'MimeType' => 'image/jpeg', 'SectionsFound' => 'ANY_TAG, IFD0, EXIF', 'COMPUTED' => array ( 'html' => 'width="2225" height="1430"', 'Height' => 1430, 'Width' => 2225, 'IsColor' => 1, 'ByteOrderMotorola' => 0, 'ApertureFNumber' => 'f/1.0', 'UserComment' => ' ', 'UserCommentEncoding' => 'ASCII', ), 'Make' => 'NIKON CORPORATION', 'Model' => 'NIKON D70', 'Orientation' => 1, 'ResolutionUnit' => 2, 'Software' => 'Ver.1.03 ', 'DateTime' => '2005:05:04 13:47:03', 'YCbCrPositioning' => 2, 'Exif_IFD_Pointer' => 308, 'CustomRendered' => 0, 'ExposureMode' => 1, 'WhiteBalance' => 0, 'DigitalZoomRatio' => '1/1', 'FocalLengthIn35mmFilm' => 0, 'SceneCaptureType' => 0, 'GainControl' => 0, 'Contrast' => 0, 'Saturation' => 0, 'Sharpness' => 0, 'SubjectDistanceRange' => 0, 'ExposureTime' => '10/2500', 'FNumber' => '0/10', 'ExposureProgram' => 1, 'ExifVersion' => '0221', 'DateTimeOriginal' => '2005:05:04 13:47:03', 'DateTimeDigitized' => '2005:05:04 13:47:03', 'ComponentsConfiguration' => '' . "\0" . '', 'CompressedBitsPerPixel' => '4/1', 'ExposureBiasValue' => '0/6', 'MaxApertureValue' => '0/10', 'MeteringMode' => 2, 'LightSource' => 0, 'Flash' => 0, 'FocalLength' => '0/10', 'SubSecTime' => '70', 'SubSecTimeOriginal' => '70', 'SubSecTimeDigitized' => '70', 'FlashPixVersion' => '0100', 'ColorSpace' => 1, 'ExifImageWidth' => 3008, 'ExifImageLength' => 2000, 'SensingMethod' => 2, 'FileSource' => '', 'SceneType' => '', 'CFAPattern' => '' . "\0" . '' . "\0" . '' . "\0" . '', ); array_walk_recursive( $exif, function ( $el ) { if ( !mb_check_encoding( $el, "UTF-8" ) ) { echo "Not utf8<br />"; } } );

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.70.0110.00416.59
8.3.60.0100.01016.38
8.3.50.0100.00921.99
8.3.40.0150.00318.75
8.3.30.0190.00018.82
8.3.20.0070.00020.38
8.3.10.0080.00023.51
8.3.00.0150.00019.26
8.2.180.0080.00818.25
8.2.170.0090.01222.96
8.2.160.0170.00320.46
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0000.00722.33
8.2.110.0050.00520.46
8.2.100.0030.00919.51
8.2.90.0100.00017.63
8.2.80.0030.00618.82
8.2.70.0000.00917.50
8.2.60.0080.00017.63
8.2.50.0060.00317.55
8.2.40.0000.00819.23
8.2.30.0040.00417.69
8.2.20.0050.00317.69
8.2.10.0050.00318.00
8.2.00.0040.00417.68
8.1.280.0080.00625.92
8.1.270.0080.00022.04
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0030.00622.09
8.1.230.0070.00417.70
8.1.220.0050.00317.74
8.1.210.0040.00418.77
8.1.200.0050.00517.35
8.1.190.0050.00317.35
8.1.180.0030.00618.10
8.1.170.0070.00018.90
8.1.160.0000.00818.86
8.1.150.0040.00418.74
8.1.140.0040.00417.46
8.1.130.0030.00317.79
8.1.120.0070.00017.55
8.1.110.0000.00717.36
8.1.100.0000.00817.48
8.1.90.0040.00417.52
8.1.80.0040.00417.61
8.1.70.0030.00317.46
8.1.60.0030.00617.63
8.1.50.0030.00517.54
8.1.40.0000.00717.54
8.1.30.0040.00417.72
8.1.20.0000.00717.73
8.1.10.0060.00317.59
8.1.00.0000.00917.50
8.0.300.0040.00418.77
8.0.290.0040.00416.63
8.0.280.0040.00417.95
8.0.270.0070.00017.95
8.0.260.0070.00016.86
8.0.250.0030.00316.98
8.0.240.0000.00717.04
8.0.230.0030.00317.03
8.0.220.0030.00316.84
8.0.210.0030.00316.92
8.0.200.0000.00616.97
8.0.190.0000.00816.98
8.0.180.0040.00416.86
8.0.170.0000.00816.97
8.0.160.0050.00216.88
8.0.150.0030.00316.88
8.0.140.0040.00416.93
8.0.130.0030.00313.42
8.0.120.0000.00816.94
8.0.110.0000.00716.96
8.0.100.0000.00716.82
8.0.90.0040.00417.02
8.0.80.0090.00516.92
8.0.70.0040.00417.07
8.0.60.0070.00016.84
8.0.50.0050.00216.83
8.0.30.0120.00916.94
8.0.20.0130.00417.40
8.0.10.0040.00416.86
8.0.00.0070.01116.76
7.4.330.0030.00315.09
7.4.320.0030.00316.66
7.4.300.0030.00316.71
7.4.290.0030.00316.57
7.4.280.0050.00216.58
7.4.270.0030.00316.71
7.4.260.0000.00816.59
7.4.250.0040.00416.63
7.4.240.0020.00516.63
7.4.230.0070.00016.67
7.4.220.0110.00616.66
7.4.210.0090.00616.65
7.4.200.0030.00316.67
7.4.190.0070.00016.62
7.4.160.0090.00916.49
7.4.150.0140.00717.40
7.4.140.0090.00817.86
7.4.130.0040.01316.49
7.4.120.0110.00816.61
7.4.110.0130.00316.33
7.4.100.0080.00816.61
7.4.90.0120.01316.46
7.4.80.0130.01019.39
7.4.70.0030.01416.46
7.4.60.0100.01016.43
7.4.50.0040.00416.43
7.4.40.0060.01222.77
7.4.30.0060.01216.47
7.4.00.0030.01314.86
7.3.330.0020.00213.31
7.3.320.0050.00013.29
7.3.310.0050.00316.27
7.3.300.0000.00716.30
7.3.290.0030.01016.25
7.3.280.0080.01016.26
7.3.270.0150.00317.40
7.3.260.0140.00316.55
7.3.250.0120.01016.45
7.3.240.0100.00716.51
7.3.230.0090.00916.55
7.3.210.0120.00616.38
7.3.200.0150.01119.39
7.3.190.0160.00316.35
7.3.180.0100.00716.58
7.3.170.0060.01016.51
7.3.160.0060.01016.39
7.3.120.0030.01214.64
7.2.330.0110.00916.43
7.2.320.0000.01716.50
7.2.310.0080.00816.55
7.2.300.0170.00416.61
7.2.290.0030.01516.52
7.1.100.0210.00917.65
7.1.70.0030.00517.06
7.1.60.0100.01419.33
7.1.50.0090.01316.63
7.1.00.0000.08022.44
7.0.200.0090.00616.46
7.0.140.0000.07322.08
7.0.100.0070.07719.90
7.0.90.0030.06319.84
7.0.80.0070.07319.87
7.0.70.0100.07719.97
7.0.60.0030.07319.90
7.0.50.0170.09720.20
7.0.40.0030.08320.13
7.0.30.0100.08020.08
7.0.20.0130.07720.09
7.0.10.0100.07320.14
7.0.00.0070.07020.10
5.6.280.0000.07720.94
5.6.250.0130.07720.73
5.6.240.0030.06720.59
5.6.230.0130.07020.68
5.6.220.0030.05320.57
5.6.210.0100.07320.55
5.6.200.0070.07721.03
5.6.190.0130.07721.13
5.6.180.0100.07021.04
5.6.170.0130.03721.09
5.6.160.0070.08320.98
5.6.150.0100.08021.07
5.6.140.0100.04021.09
5.6.130.0070.08021.06
5.6.120.0070.08321.13
5.6.110.0070.05321.04
5.6.100.0070.07321.08
5.6.90.0070.08721.13
5.6.80.0130.07720.49
5.6.70.0100.07320.43
5.6.60.0000.05320.50
5.6.50.0030.08320.58
5.6.40.0030.08320.43
5.6.30.0070.08020.46
5.6.20.0000.05720.42
5.6.10.0070.07320.32
5.6.00.0000.08320.42
5.5.380.0000.08720.46
5.5.370.0070.08020.57
5.5.360.0070.07720.36
5.5.350.0130.07720.35
5.5.340.0170.07320.94
5.5.330.0070.07320.94
5.5.320.0130.07720.90
5.5.310.0170.07320.66
5.5.300.0100.07720.88
5.5.290.0030.08020.76
5.5.280.0170.07720.94
5.5.270.0100.08720.84
5.5.260.0100.07720.93
5.5.250.0170.07320.73
5.5.240.0230.06320.24
5.5.230.0030.08320.32
5.5.220.0000.08320.19
5.5.210.0170.04020.29
5.5.200.0100.05720.28
5.5.190.0070.08020.28
5.5.180.0100.08020.14
5.5.160.0100.07720.21
5.5.150.0070.04320.29
5.5.140.0030.08020.17
5.5.130.0100.07720.27
5.5.120.0100.07020.29
5.5.110.0130.07020.23
5.5.100.0070.07319.93
5.5.90.0130.07020.18
5.5.80.0030.04720.13
5.5.70.0070.08020.12
5.5.60.0100.07720.08
5.5.50.0000.09020.18
5.5.40.0070.07720.08
5.5.30.0070.08320.07
5.5.20.0130.07720.07
5.5.10.0100.07020.15
5.5.00.0100.06020.10
5.4.450.0100.07719.47
5.4.440.0100.07719.28
5.4.430.0070.08319.50
5.4.420.0070.07719.25
5.4.410.0130.07019.24
5.4.400.0100.07719.24
5.4.390.0130.07319.20
5.4.380.0070.07019.05
5.4.370.0100.07019.05
5.4.360.0100.06319.04
5.4.350.0030.07718.86
5.4.340.0030.06719.03
5.4.320.0130.07719.22
5.4.310.0100.07319.09
5.4.300.0100.04319.13
5.4.290.0100.06019.02
5.4.280.0070.06318.86
5.4.270.0170.07318.88
5.4.260.0070.07719.04
5.4.250.0130.03018.88
5.4.240.0100.07319.16
5.4.230.0030.07719.09
5.4.220.0000.08018.87
5.4.210.0030.06719.13
5.4.200.0100.07019.21
5.4.190.0070.07319.04
5.4.180.0100.07019.15
5.4.170.0130.07019.23
5.4.160.0130.04718.88
5.4.150.0100.07019.16
5.4.140.0000.06716.43
5.4.130.0070.07716.50
5.4.120.0230.05716.42
5.4.110.0030.07316.44
5.4.100.0100.06716.35
5.4.90.0070.07016.57
5.4.80.0100.06716.47
5.4.70.0130.06716.42
5.4.60.0100.07316.37
5.4.50.0100.06716.45
5.4.40.0070.07316.37
5.4.30.0130.06316.34
5.4.20.0130.07016.41
5.4.10.0100.07016.36
5.4.00.0170.06015.91
5.3.290.0030.07714.71
5.3.280.0100.07314.72
5.3.270.0030.07714.65
5.3.260.0130.07314.60
5.3.250.0030.08014.64
5.3.240.0070.07714.55
5.3.230.0070.08014.63
5.3.220.0100.07014.72
5.3.210.0070.08014.65
5.3.200.0070.07714.60
5.3.190.0070.08314.65
5.3.180.0100.06714.64
5.3.170.0100.04714.70
5.3.160.0070.04314.51
5.3.150.0070.07314.55
5.3.140.0070.04314.71
5.3.130.0100.06714.55
5.3.120.0070.07014.52
5.3.110.0100.04014.68
5.3.100.0130.07014.01
5.3.90.0070.07014.14
5.3.80.0030.04313.95
5.3.70.0030.08014.16
5.3.60.0070.07014.04
5.3.50.0070.04313.98
5.3.40.0030.06014.08
5.3.30.0100.07013.82
5.3.20.0170.06713.82
5.3.10.0070.07013.73
5.3.00.0030.07313.78
5.2.170.0070.06311.33
5.2.160.0100.05711.33
5.2.150.0030.06011.33
5.2.140.0070.05311.33
5.2.130.0030.06311.33
5.2.120.0030.04711.33
5.2.110.0030.06311.33
5.2.100.0000.06711.33
5.2.90.0070.03311.33
5.2.80.0070.05011.33
5.2.70.0100.06011.33
5.2.60.0030.03311.33
5.2.50.0100.02711.33
5.2.40.0100.05311.33
5.2.30.0070.04311.33
5.2.20.0100.05711.33
5.2.10.0070.06311.33
5.2.00.0070.05711.33
5.1.60.0200.03011.33
5.1.50.0030.05711.33
5.1.40.0070.05011.33
5.1.30.0000.06311.33
5.1.20.0000.06311.33
5.1.10.0070.04011.33
5.1.00.0070.02711.33
5.0.50.0000.05011.33
5.0.40.0070.04311.33
5.0.30.0070.06311.33
5.0.20.0100.02011.33
5.0.10.0000.04011.33
5.0.00.0030.06011.33
4.4.90.0070.02711.33
4.4.80.0030.03711.33
4.4.70.0130.02711.33
4.4.60.0070.03011.33
4.4.50.0030.02311.33
4.4.40.0030.04711.33
4.4.30.0070.02311.33
4.4.20.0070.03011.33
4.4.10.0030.03711.33
4.4.00.0030.05711.33
4.3.110.0000.03711.33
4.3.100.0030.03311.33
4.3.90.0100.02711.33
4.3.80.0000.05711.33
4.3.70.0000.03711.33
4.3.60.0000.03711.33
4.3.50.0070.02011.33
4.3.40.0030.04011.33
4.3.30.0000.03711.33
4.3.20.0000.04011.33
4.3.10.0030.03311.33
4.3.00.0000.03011.33

preferences:
55.75 ms | 401 KiB | 5 Q